mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 20:36:31 +00:00
🐛 修复了无法切换进程、无法进行浮点运算的bug(将main.c中的init函数名进行修改)
This commit is contained in:
@ -53,7 +53,7 @@ entry64:
|
||||
movq %rax, %gs
|
||||
movq %rax, %ss
|
||||
|
||||
movq $0xffff800000007e00, %rsp //rsp的地址
|
||||
movq _stack_start(%rip), %rsp //rsp的地址
|
||||
|
||||
setup_IDT:
|
||||
leaq m_ignore_int(%rip), %rdx // 将ignore_int的地址暂时存到中段描述符的高8B
|
||||
|
Reference in New Issue
Block a user