foss-for-synopsys-dwc-arc-processors / linux

Helpful resources for users & developers of Linux kernel for ARC
22 stars 13 forks source link

ARC: Proper kernel mapping #90

Closed VVIsaev closed 2 years ago

VVIsaev commented 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