From c2496f140417f79bfeb00e3b93880c9873cb4796 Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Mon, 22 Nov 2021 08:22:45 -0800 Subject: [PATCH] SYSENTER/SYSEXIT must use continue, not break, to avoid the SAVEIP that would set the instruction pointer back to just after SYSENTER. I thought it seemed weird that Linux would execute SYSENTER just to then execute INT 80h --- src/cpu/core_normal/prefix_0f.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu/core_normal/prefix_0f.h b/src/cpu/core_normal/prefix_0f.h index a34f98dea..1f485cbf6 100644 --- a/src/cpu/core_normal/prefix_0f.h +++ b/src/cpu/core_normal/prefix_0f.h @@ -262,13 +262,13 @@ if (CPU_ArchitectureType