Skip to content

Support contiguous mapping of non-contiguous physical pages #571

@sangho2

Description

@sangho2

Although LiteBox kernel platforms (litebox_platform_linux_kernel and litebox_platform_lvbs) use MappedPageTable, this is effectively OffsetPageTable since they use a fixed GVA_OFFSET to implement pa_to_va() and va_to_pa(). These functions are simple and efficient but prevent us from implementing some kernel functions like vmap() and vunmap() #555. Instead of relying on GVA_OFFSET, we need a programmatic way to provide hints for pa to va mappings and should globally maintain their mappings to implement pa_to_va() and va_to_pa() in a dynamic manner.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestlayer-platformFocusing on one or more specific platforms / "south" of LiteBox itself

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions