Closed VVIsaev closed 2 years ago
Use proper page flags for different memory sections, for example X is used only for text section.
Previously we mapped kernel as an one big chunk.
Now kernel mapping is page-based, so it requires to have memblock initialized to be able to allocate page entries dynamically.
Signed-off-by: Vladimir Isaev isaev@synopsys.com
Use proper page flags for different memory sections, for example X is used only for text section.
Previously we mapped kernel as an one big chunk.
Now kernel mapping is page-based, so it requires to have memblock initialized to be able to allocate page entries dynamically.
Signed-off-by: Vladimir Isaev isaev@synopsys.com