mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Kernel: Declare blob sizes of SysFS BIOS classes as const
This commit is contained in:
parent
96aae59e9c
commit
338b4b27eb
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ private:
|
||||||
DMIEntryPointExposedBlob(PhysicalAddress dmi_entry_point, size_t blob_size);
|
DMIEntryPointExposedBlob(PhysicalAddress dmi_entry_point, size_t blob_size);
|
||||||
virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override;
|
virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override;
|
||||||
PhysicalAddress m_dmi_entry_point;
|
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 {
|
class SMBIOSExposedTable : public BIOSSysFSComponent {
|
||||||
|
@ -91,7 +91,7 @@ private:
|
||||||
virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override;
|
virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override;
|
||||||
|
|
||||||
PhysicalAddress m_smbios_structure_table;
|
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 {
|
class BIOSSysFSDirectory : public SysFSDirectory {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue