mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:47:34 +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);
|
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()
|
UNMAP_AFTER_INIT void BIOSSysFSDirectory::initialize_dmi_exposer()
|
||||||
{
|
{
|
||||||
VERIFY(!(m_dmi_entry_point.is_null()));
|
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);
|
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()
|
UNMAP_AFTER_INIT BIOSSysFSDirectory::BIOSSysFSDirectory()
|
||||||
: SysFSDirectory("bios", SysFSComponentRegistry::the().root_directory())
|
: SysFSDirectory("bios", SysFSComponentRegistry::the().root_directory())
|
||||||
{
|
{
|
||||||
|
|
|
@ -99,11 +99,6 @@ public:
|
||||||
void create_components();
|
void create_components();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
OwnPtr<KBuffer> dmi_entry_point() const;
|
|
||||||
OwnPtr<KBuffer> smbios_structure_table() const;
|
|
||||||
size_t dmi_entry_point_length() const;
|
|
||||||
size_t smbios_structure_table_length() const;
|
|
||||||
|
|
||||||
BIOSSysFSDirectory();
|
BIOSSysFSDirectory();
|
||||||
|
|
||||||
void set_dmi_64_bit_entry_initialization_values();
|
void set_dmi_64_bit_entry_initialization_values();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue