mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +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:
parent
338c6eec65
commit
65c27bfe52
3 changed files with 19 additions and 0 deletions
|
@ -70,6 +70,15 @@ DMIExpose& DMIExpose::the()
|
|||
return *s_the;
|
||||
}
|
||||
|
||||
size_t DMIExpose::entry_point_length() const
|
||||
{
|
||||
return m_entry_point_length;
|
||||
}
|
||||
size_t DMIExpose::structure_table_length() const
|
||||
{
|
||||
return m_structure_table_length;
|
||||
}
|
||||
|
||||
void DMIExpose::initialize_exposer()
|
||||
{
|
||||
ASSERT(!(m_entry_point.is_null()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue