Probe RSDP for PCIe Config
This commit is contained in:
parent
4bd7f972c1
commit
3e1e37bf03
7 changed files with 200 additions and 1 deletions
|
|
@ -36,4 +36,15 @@ const limine_module_response& GetModules() {
|
|||
return *gModuleRequest.response;
|
||||
}
|
||||
|
||||
static volatile struct limine_rsdp_request gRsdpRequest {
|
||||
.id = LIMINE_RSDP_REQUEST, .revision = 0, .response = 0,
|
||||
};
|
||||
|
||||
void* GetRsdpAddr() {
|
||||
if (!gRsdpRequest.response) {
|
||||
panic("No rsdp response from limine");
|
||||
}
|
||||
return gRsdpRequest.response->address;
|
||||
}
|
||||
|
||||
} // namespace boot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue