summaryrefslogtreecommitdiff
path: root/Kernel/Firmware/ACPI
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-04-11 00:08:07 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-12 00:55:31 +0100
commit3b3af58cf6ca757319bf3814a35ebc6943a0f97a (patch)
tree827615ad231d91c19021570555aa210243f7c67f /Kernel/Firmware/ACPI
parentd6d1ae667d97aa5ceca55b4c99e8931b0c29aa56 (diff)
downloadserenity-3b3af58cf6ca757319bf3814a35ebc6943a0f97a.zip
Kernel: Annotate all `KBuffer` and `DoubleBuffer` with a custom name
Diffstat (limited to 'Kernel/Firmware/ACPI')
-rw-r--r--Kernel/Firmware/ACPI/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Firmware/ACPI/Parser.cpp b/Kernel/Firmware/ACPI/Parser.cpp
index 406275bffb..fa3439432f 100644
--- a/Kernel/Firmware/ACPI/Parser.cpp
+++ b/Kernel/Firmware/ACPI/Parser.cpp
@@ -57,7 +57,7 @@ ErrorOr<size_t> ACPISysFSComponent::read_bytes(off_t offset, size_t count, UserO
ErrorOr<NonnullOwnPtr<KBuffer>> ACPISysFSComponent::try_to_generate_buffer() const
{
auto acpi_blob = TRY(Memory::map_typed<u8>((m_paddr), m_length));
- return KBuffer::try_create_with_bytes(Span<u8> { acpi_blob.ptr(), m_length });
+ return KBuffer::try_create_with_bytes("ACPISysFSComponent: Blob"sv, Span<u8> { acpi_blob.ptr(), m_length });
}
UNMAP_AFTER_INIT ACPISysFSComponent::ACPISysFSComponent(NonnullOwnPtr<KString> table_name, PhysicalAddress paddr, size_t table_size)