aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kapi/memory.cpp')
-rw-r--r--kernel/kapi/memory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/kapi/memory.cpp b/kernel/kapi/memory.cpp
index a0445645..1c6fa2c8 100644
--- a/kernel/kapi/memory.cpp
+++ b/kernel/kapi/memory.cpp
@@ -27,17 +27,17 @@ namespace kapi::memory
auto allocate_many(std::size_t) noexcept -> std::optional<std::pair<frame, std::size_t>> override
{
- system::panic("Tried to allocate frames without an active allocator.");
+ system::panic("[OS:MEM] Tried to allocate frames without an active allocator.");
}
auto mark_used(frame) -> void override
{
- system::panic("Tried to mark frame as used without an active allocator.");
+ system::panic("[OS:MEM] Tried to mark frame as used without an active allocator.");
}
auto release_many(std::pair<frame, std::size_t>) -> void override
{
- system::panic("Tried to release frames without an active allocator.");
+ system::panic("[OS:MEM] Tried to release frames without an active allocator.");
}
};
@@ -47,12 +47,12 @@ namespace kapi::memory
auto map(page, frame, flags) -> std::byte * override
{
- system::panic("Tried to map a page without an active mapper.");
+ system::panic("[OS:MEM] Tried to map a page without an active mapper.");
}
auto unmap(page) -> void override
{
- system::panic("Tried to unmap a page without an active mapper.");
+ system::panic("[OS:MEM] Tried to unmap a page without an active mapper.");
}
auto try_unmap(page) noexcept -> bool override