1
Fork 0
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:
Andreas Kling 2020-07-13 12:20:47 +02:00
parent 9b6464010f
commit e0580e2975
4 changed files with 48 additions and 1 deletions

View file

@ -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);