mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Launching an arbitrary ELF executable from disk works! :^)
This is so cool! It's a bit messy now with two Task constructors, but eventually they should fold into a single constructor somehow.
This commit is contained in:
parent
befeabd8fe
commit
b824f15619
10 changed files with 141 additions and 16 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <AK/RetainPtr.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include "Task.h"
|
||||
|
||||
class Task;
|
||||
|
||||
|
@ -49,6 +50,7 @@ public:
|
|||
// HACK: don't use this jeez :(
|
||||
byte* quickMapOnePage(PhysicalAddress);
|
||||
|
||||
bool mapRegion(Task&, Task::Region&);
|
||||
bool mapRegionsForTask(Task&);
|
||||
bool unmapRegionsForTask(Task&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue