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
|
|
@ -25,4 +25,15 @@ uint64_t GetHigherHalfDirectMap() {
|
|||
return gHhdmRequest.response->offset;
|
||||
}
|
||||
|
||||
static volatile struct limine_module_request gModuleRequest {
|
||||
.id = LIMINE_MODULE_REQUEST, .revision = 0, .response = 0,
|
||||
};
|
||||
|
||||
const limine_module_response& GetModules() {
|
||||
if (!gModuleRequest.response) {
|
||||
panic("No module response from limine");
|
||||
}
|
||||
return *gModuleRequest.response;
|
||||
}
|
||||
|
||||
} // namespace boot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue