mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
Kernel: Remove unused members in BIOSSysFSDirectory
This commit is contained in:
parent
ed77b6f8cb
commit
b959c1bfa9
2 changed files with 0 additions and 20 deletions
|
@ -118,15 +118,6 @@ void BIOSSysFSDirectory::create_components()
|
|||
m_components.append(smbios_table);
|
||||
}
|
||||
|
||||
size_t BIOSSysFSDirectory::dmi_entry_point_length() const
|
||||
{
|
||||
return m_dmi_entry_point_length;
|
||||
}
|
||||
size_t BIOSSysFSDirectory::smbios_structure_table_length() const
|
||||
{
|
||||
return m_smbios_structure_table_length;
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void BIOSSysFSDirectory::initialize_dmi_exposer()
|
||||
{
|
||||
VERIFY(!(m_dmi_entry_point.is_null()));
|
||||
|
@ -138,12 +129,6 @@ UNMAP_AFTER_INIT void BIOSSysFSDirectory::initialize_dmi_exposer()
|
|||
dbgln("BIOSSysFSDirectory: Data table @ {}", m_smbios_structure_table);
|
||||
}
|
||||
|
||||
OwnPtr<KBuffer> BIOSSysFSDirectory::smbios_structure_table() const
|
||||
{
|
||||
auto dmi_blob = Memory::map_typed<u8>(m_smbios_structure_table, m_smbios_structure_table_length);
|
||||
return KBuffer::try_create_with_bytes(Span<u8> { dmi_blob.ptr(), m_smbios_structure_table_length });
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT BIOSSysFSDirectory::BIOSSysFSDirectory()
|
||||
: SysFSDirectory("bios", SysFSComponentRegistry::the().root_directory())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue