mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
UserspaceEmulator: Make mmap'ed memory track read/write protection
Here's the first time we get a taste of better information than the real hardware can give us: unlike x86 CPUs, we can actually support write-only memory, so now we do! While this isn't immediately useful, it's still pretty cool. :^)
This commit is contained in:
parent
27c1690504
commit
f6ad5edab0
5 changed files with 190 additions and 1 deletions
|
@ -37,6 +37,8 @@ namespace UserspaceEmulator {
|
|||
|
||||
class Emulator {
|
||||
public:
|
||||
static Emulator& the();
|
||||
|
||||
Emulator(const Vector<String>& arguments, NonnullRefPtr<ELF::Loader>);
|
||||
|
||||
bool load_elf();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue