summaryrefslogtreecommitdiff
path: root/Kernel/Firmware/BIOS.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-01-13 17:38:09 +0200
committerAndreas Kling <kling@serenityos.org>2022-01-13 22:40:25 +0100
commite2e5d4da164aad9b4a77ce5f2c7bfad3dafb9a86 (patch)
tree2c4327d217882080da6e4a1f605720ba248df14b /Kernel/Firmware/BIOS.h
parentae5f5a4d50f2ac4d1f0a6316385275030bdeccec (diff)
downloadserenity-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.h4
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: