[SMP] Cpu initialization cleanup
This commit is contained in:
6
kernel/cpu/get_cpu.S
Normal file
6
kernel/cpu/get_cpu.S
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <cpu.h>
|
||||
.intel_syntax noprefix
|
||||
.global get_cpu
|
||||
get_cpu:
|
||||
mov rax, gs:GS_OFFSET_CPU
|
||||
ret
|
||||
Reference in New Issue
Block a user