mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
Kernel: Oops, we need to use map_typed_writable() for write access :^)
This commit is contained in:
parent
a04c8d7101
commit
59a56a78c0
Notes:
sideshowbarker
2024-07-19 06:12:50 +09:00
Author: https://github.com/awesomekling
Commit: 59a56a78c0
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ static void set_base(const PhysicalAddress& base)
|
|||
|
||||
static void write_register(u32 offset, u32 value)
|
||||
{
|
||||
*map_typed<u32>(g_apic_base.offset(offset)) = value;
|
||||
*map_typed_writable<u32>(g_apic_base.offset(offset)) = value;
|
||||
}
|
||||
|
||||
static u32 read_register(u32 offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue