mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
config.py: update comment to reflect kernel assert
The ELF loader may well be satisfied with a smaller alignment, but the compile time assert in the kernel requires super section alignment for physBase. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
@@ -54,7 +54,7 @@ class ARMConfig(Config):
|
||||
self.SUPERSECTION_BITS = 25 if sel4arch == 'arm_hyp' else 24
|
||||
|
||||
def get_kernel_phys_align(self) -> int:
|
||||
''' on ARM the ELF loader expects to be able to map a supersection page to load the kernel. '''
|
||||
''' On AArch32 the kernel requires at least super section alignment for physBase. '''
|
||||
return self.SUPERSECTION_BITS
|
||||
|
||||
def align_memory(self, regions: Set[Region]) -> List[Region]:
|
||||
|
||||
Reference in New Issue
Block a user