Add a kernel ELF module and load it in a new process.
Don't yet jump to userspace.
This commit is contained in:
parent
f86bbe6ea9
commit
aefb4f082b
22 changed files with 223 additions and 16 deletions
|
|
@ -9,12 +9,12 @@ class Process {
|
|||
public:
|
||||
// Caller takes ownership of returned process.
|
||||
static Process* RootProcess();
|
||||
Process();
|
||||
Process(uint64_t elf_ptr);
|
||||
|
||||
uint64_t id() { return id_; }
|
||||
uint64_t cr3() { return cr3_; }
|
||||
|
||||
void CreateThread();
|
||||
void CreateThread(uint64_t elf_ptr);
|
||||
Thread* GetThread(uint64_t tid);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue