1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00

Kernel: Declare blob sizes of SysFS BIOS classes as const

This commit is contained in:
Liav A 2022-04-01 11:10:36 +03:00 committed by Andreas Kling
parent 96aae59e9c
commit 338b4b27eb

View file

@ -78,7 +78,7 @@ private:
DMIEntryPointExposedBlob(PhysicalAddress dmi_entry_point, size_t blob_size);
virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override;
PhysicalAddress m_dmi_entry_point;
size_t m_dmi_entry_point_length { 0 };
size_t const m_dmi_entry_point_length { 0 };
};
class SMBIOSExposedTable : public BIOSSysFSComponent {
@ -91,7 +91,7 @@ private:
virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override;
PhysicalAddress m_smbios_structure_table;
size_t m_smbios_structure_table_length { 0 };
size_t const m_smbios_structure_table_length { 0 };
};
class BIOSSysFSDirectory : public SysFSDirectory {