From 66f0d0f4694b77ccaf81e10745051255be50f06f Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Tue, 14 Jul 2026 22:11:18 +0000 Subject: [PATCH] ptos/amd64: frame: Always iretq in INTR_EXIT() Signed-off-by: Chloe M. --- service/ptos/head/arch/amd64/frameasm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/ptos/head/arch/amd64/frameasm.h b/service/ptos/head/arch/amd64/frameasm.h index 5ff5d6d..a316ad0 100644 --- a/service/ptos/head/arch/amd64/frameasm.h +++ b/service/ptos/head/arch/amd64/frameasm.h @@ -85,11 +85,11 @@ * pushed onto the stack. */ #define INTR_EXIT() ;\ - _POP_FRAME() ;\ + _TRAP_POPALL() ;\ testb $3, 8(%rsp) ;\ jz 1f ;\ lfence ;\ swapgs ;\ -1: +1: iretq #endif /* !_MACHINE_FRAMEASM_H_ */