Skip to content

Conversation

@dancrossnyc
Copy link
Collaborator

No description provided.

Implement the `copy` command, which can copy a file from the
ramdisk to a contiguous region of memory.

Also, fix bugs with testing whether regions of memory are mapped,
and handle GPFs.  Oh, and print out the root of the paging tree
(pml4) on `mappings`.

Signed-off-by: Dan Cross <[email protected]>
@dancrossnyc dancrossnyc force-pushed the copy branch 2 times, most recently from bda566e to 9ee3350 Compare April 9, 2025 21:07
Add support for parsing length suffices on pairs, so that
one can write: `map 0x20_0000,4m 0x40_0000 w` to map 4MiB.

Signed-off-by: Dan Cross <[email protected]>
Modeled after the `::bitx` dcmd in illumos `mdb`, get
and set bits in a number.

Signed-off-by: Dan Cross <[email protected]>
@dancrossnyc dancrossnyc merged commit e5abe53 into main Apr 9, 2025
5 checks passed
@dancrossnyc dancrossnyc deleted the copy branch April 9, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants