mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
Kernel: Make ACPI reboot OOM-fallible
This commit is contained in:
parent
c3099382b8
commit
fdfdb5bd1c
2 changed files with 14 additions and 7 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <Kernel/Firmware/SysFSFirmware.h>
|
||||
#include <Kernel/Interrupts/IRQHandler.h>
|
||||
#include <Kernel/Memory/Region.h>
|
||||
#include <Kernel/Memory/TypedMapping.h>
|
||||
#include <Kernel/PhysicalAddress.h>
|
||||
#include <Kernel/VirtualAddress.h>
|
||||
|
||||
|
@ -89,7 +90,7 @@ private:
|
|||
u8 get_table_revision(PhysicalAddress);
|
||||
void process_fadt_data();
|
||||
|
||||
bool validate_reset_register();
|
||||
bool validate_reset_register(Memory::TypedMapping<Structures::FADT> const&);
|
||||
void access_generic_address(const Structures::GenericAddressStructure&, u32 value);
|
||||
|
||||
PhysicalAddress m_rsdp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue