diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-13 17:38:09 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-13 22:40:25 +0100 |
commit | e2e5d4da164aad9b4a77ce5f2c7bfad3dafb9a86 (patch) | |
tree | 2c4327d217882080da6e4a1f605720ba248df14b /Kernel/Firmware/BIOS.h | |
parent | ae5f5a4d50f2ac4d1f0a6316385275030bdeccec (diff) | |
download | serenity-e2e5d4da164aad9b4a77ce5f2c7bfad3dafb9a86.zip |
Kernel: Make map_bios() and map_ebda() fallible using ErrorOr
Diffstat (limited to 'Kernel/Firmware/BIOS.h')
-rw-r--r-- | Kernel/Firmware/BIOS.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Firmware/BIOS.h b/Kernel/Firmware/BIOS.h index 297f590215..982d290cd3 100644 --- a/Kernel/Firmware/BIOS.h +++ b/Kernel/Firmware/BIOS.h @@ -57,8 +57,8 @@ struct [[gnu::packed]] EntryPoint64bit { namespace Kernel { -Memory::MappedROM map_bios(); -Memory::MappedROM map_ebda(); +ErrorOr<Memory::MappedROM> map_bios(); +ErrorOr<Memory::MappedROM> map_ebda(); class BIOSSysFSComponent : public SysFSComponent { public: |