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

Kernel: Set file size for smbios_entry_point and DMI blobs in ProcFS

This is needed to support dmidecode version 3.3, so it can read the 2
blobs in ProcFS.
This commit is contained in:
Liav A 2021-01-29 21:01:56 +02:00 committed by Andreas Kling
parent 338c6eec65
commit 65c27bfe52
3 changed files with 19 additions and 0 deletions

View file

@ -85,6 +85,8 @@ public:
bool is_available() const { return m_available; }
OwnPtr<KBuffer> entry_point() const;
OwnPtr<KBuffer> structure_table() const;
size_t entry_point_length() const;
size_t structure_table_length() const;
private:
void set_64_bit_entry_initialization_values();