Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch-axel-12] rework physical address space limits #52

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

axel-h
Copy link
Owner

@axel-h axel-h commented Jan 31, 2022

Test with: seL4/seL4_tools#135

@axel-h axel-h force-pushed the patch-axel-12 branch 7 times, most recently from e58f770 to e86bd6c Compare February 3, 2022 15:22
Instead of special handling for the SBI region in the kernel, which can
be platform specific, treat it as a reserved memory region in the device
tree which is sufficient to prevent the kernel from turning the reserved
region into kernel untyped caps.

Signed-off-by: Kent McLeod <[email protected]>
@axel-h axel-h force-pushed the patch-axel-12 branch 8 times, most recently from 8b82793 to b8a1895 Compare March 16, 2022 12:22
@axel-h axel-h force-pushed the patch-axel-12 branch 7 times, most recently from 2ecde9f to 85233e1 Compare March 22, 2022 14:21
@axel-h axel-h changed the title Patch axel 12 (rework physical address space limits) [patch-axel-12] rework physical address space limits Mar 26, 2022
Signed-off-by: Axel Heider <[email protected]>
Since we have Python 3.7 now, the usage of type hints can be improved
further.

Signed-off-by: Axel Heider <[email protected]>
- pass a dict
- add type information for parameters

Signed-off-by: Axel Heider <[email protected]>
- merge functions to simplify control flow
- clarify variable names
- add comments
- Improve code readability

Signed-off-by: Axel Heider <[email protected]>
Config is already part of the hardware YAML object, take it from there.

Signed-off-by: Axel Heider <[email protected]>
- add KernelPhysAddressSpaceBits and PHYS_ADDR_SPACE_BITS
- add KernelPhysAddrTop and CONFIG_PHYS_ADDR_TOP
- make CONFIG_PADDR_USER_DEVICE_TOP an alias
- remove KernelPaddrUserTop from CMake
- remove KernelArmPASizeBits40 from CMake
- remove KernelArmPASizeBits44 from CMake
- improve comment why the last page is always excluded

Signed-off-by: Axel Heider <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants