This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
forked from seL4/camkes-tool
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add copyregion support for mapping a frame into the VSpace.
Add a "copyregion" object that supports a named page-aligned memory region where page frames can be mapped. A copyregion has a name used to construct the C symbol name and an optional size that specifies how large a window to create (default is one "small page"). Any specified size must be a multiple of the base page size (4096 on RISCV). Multiple regions can be created per component by using different names. Note there is no synchronization copyregion accesses (e.g. if used by multiple threads). A copy region is setup before any pre_init method is called; any attempt to use it before then is undefined. A copy region is implemented "under the covers" by creating a C array named who's pages are unmapped at startup to create a hole in the VSpace. Change-Id: I78c99441869860c55a80f8c1d93e3a31107af8d1 GitOrigin-RevId: 0dbaa9886d988ff622e8d96188023c0ec8440589
- Loading branch information
Showing
5 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters