diff options
Diffstat (limited to 'Kernel/Firmware/BIOS.h')
-rw-r--r-- | Kernel/Firmware/BIOS.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Kernel/Firmware/BIOS.h b/Kernel/Firmware/BIOS.h index 8766d4a796..55618393f8 100644 --- a/Kernel/Firmware/BIOS.h +++ b/Kernel/Firmware/BIOS.h @@ -62,10 +62,10 @@ Memory::MappedROM map_ebda(); class BIOSSysFSComponent : public SysFSComponent { public: - virtual KResultOr<size_t> read_bytes(off_t, size_t, UserOrKernelBuffer&, OpenFileDescription*) const override; + virtual ErrorOr<size_t> read_bytes(off_t, size_t, UserOrKernelBuffer&, OpenFileDescription*) const override; protected: - virtual KResultOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const = 0; + virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const = 0; explicit BIOSSysFSComponent(StringView name); }; @@ -75,7 +75,7 @@ public: private: DMIEntryPointExposedBlob(PhysicalAddress dmi_entry_point, size_t blob_size); - virtual KResultOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override; + virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override; PhysicalAddress m_dmi_entry_point; size_t m_dmi_entry_point_length; }; @@ -86,7 +86,7 @@ public: private: SMBIOSExposedTable(PhysicalAddress dmi_entry_point, size_t blob_size); - virtual KResultOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override; + virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override; PhysicalAddress m_smbios_structure_table; size_t m_smbios_structure_table_length; @@ -94,7 +94,7 @@ private: class BIOSSysFSDirectory : public SysFSDirectory { public: - static KResultOr<NonnullRefPtr<BIOSSysFSDirectory>> try_create(FirmwareSysFSDirectory&); + static ErrorOr<NonnullRefPtr<BIOSSysFSDirectory>> try_create(FirmwareSysFSDirectory&); void create_components(); |