From ba36b60b6820d699cdff3bf9da81c4bf287472bf Mon Sep 17 00:00:00 2001 From: pointer-to-bios Date: Thu, 2 May 2024 22:31:43 +0800 Subject: [PATCH] =?UTF-8?q?nasm=E7=9A=84iret=E6=8C=87=E4=BB=A4=E6=98=AF32?= =?UTF-8?q?=E4=BD=8Diret=EF=BC=8C=E5=BF=85=E9=A1=BB=E4=BD=BF=E7=94=A8iretq?= =?UTF-8?q?=E6=89=8D=E4=BC=9A=E7=BF=BB=E8=AF=91=E4=B8=BA64=E4=BD=8Diret?= =?UTF-8?q?=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/kernel/arch/x86_64/interrupt_procs.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/kernel/arch/x86_64/interrupt_procs.s b/src/kernel/arch/x86_64/interrupt_procs.s index c5a3a02..968ff49 100644 --- a/src/kernel/arch/x86_64/interrupt_procs.s +++ b/src/kernel/arch/x86_64/interrupt_procs.s @@ -63,7 +63,7 @@ interrupt_entry_UNSUPPORTED: call interrupt_req_UNSUPPORTED interrupt_entry_leave - iret + iretq global interrupt_entry_DE extern interrupt_req_DE @@ -75,12 +75,12 @@ interrupt_entry_DE: call interrupt_req_DE interrupt_entry_leave - iret + iretq global interrupt_entry_NMI interrupt_entry_NMI: ; TODO 暂时不需要为这个中断实现任何功能 - iret + iretq global interrupt_entry_BP extern interrupt_req_BP @@ -94,7 +94,7 @@ interrupt_entry_BP: call interrupt_req_BP interrupt_entry_leave - iret + iretq global interrupt_entry_OF extern interrupt_req_OF @@ -106,4 +106,4 @@ interrupt_entry_OF: call interrupt_req_OF interrupt_entry_leave - iret + iretq