1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

Kernel: Make map_bios() and map_ebda() fallible using ErrorOr

This commit is contained in:
Idan Horowitz 2022-01-13 17:38:09 +02:00 committed by Andreas Kling
parent ae5f5a4d50
commit e2e5d4da16
4 changed files with 48 additions and 21 deletions

View file

@ -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: