mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
Kernel: Make PhysicalRegion.cpp compile on aarch64
This commit is contained in:
parent
0d7eee625f
commit
783a44b18e
3 changed files with 9 additions and 1 deletions
|
@ -158,6 +158,11 @@ public:
|
|||
return *g_total_processors.ptr();
|
||||
}
|
||||
|
||||
ALWAYS_INLINE static u64 read_cpu_counter()
|
||||
{
|
||||
return read_tsc();
|
||||
}
|
||||
|
||||
ALWAYS_INLINE static void pause()
|
||||
{
|
||||
asm volatile("pause");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue