mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 14:12:52 +00:00
Kernel: Annotate all KBuffer
and DoubleBuffer
with a custom name
This commit is contained in:
parent
d6d1ae667d
commit
3b3af58cf6
Notes:
sideshowbarker
2024-07-18 03:20:18 +09:00
Author: https://github.com/timschumi
Commit: 3b3af58cf6
Pull-request: https://github.com/SerenityOS/serenity/pull/14558
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
19 changed files with 32 additions and 32 deletions
|
@ -56,6 +56,6 @@ StringView BIOSSysFSComponent::name() const
|
|||
ErrorOr<NonnullOwnPtr<KBuffer>> BIOSSysFSComponent::try_to_generate_buffer() const
|
||||
{
|
||||
auto blob = TRY(Memory::map_typed<u8>((m_blob_paddr), m_blob_length));
|
||||
return KBuffer::try_create_with_bytes(Span<u8> { blob.ptr(), m_blob_length });
|
||||
return KBuffer::try_create_with_bytes("BIOSSysFSComponent: Blob"sv, Span<u8> { blob.ptr(), m_blob_length });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue