mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
UserspaceEmulator: Add some more syscalls
We can now unmap mapped memory, among other things. This is all very ad-hoc as I'm trying to run UserspaceEmulator inside itself. :^)
This commit is contained in:
parent
9b6464010f
commit
e0580e2975
4 changed files with 48 additions and 1 deletions
|
@ -76,6 +76,8 @@ public:
|
|||
Region* find_region(X86::LogicalAddress);
|
||||
|
||||
void add_region(NonnullOwnPtr<Region>);
|
||||
void remove_region(Region&);
|
||||
|
||||
void set_tls_region(NonnullOwnPtr<Region>);
|
||||
|
||||
void copy_to_vm(FlatPtr destination, const void* source, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue