mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 09:06:32 +00:00
支持多核启动并初始化AP核的Local APIC
This commit is contained in:
@ -112,6 +112,10 @@ _apu_code64:
|
||||
or $(3 << 9), %ax //set CR4.OSFXSR and CR4.OSXMMEXCPT at the same time
|
||||
movq %rax, %cr4
|
||||
|
||||
// 跳转到地址1MB处执行
|
||||
movq $_start64, %rax
|
||||
jmpq *%rax
|
||||
|
||||
hlt
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user