From 92abe28af49d9194f8c5a31891ebe04b5e1dcd21 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 20 Oct 2020 17:37:20 -0700 Subject: [PATCH] x86,kvm: Use the new workload event to trigger KVM system calls. While events are only used for SE mode for now, this moves to using the common mechanism and gets rid of the need for the system call specific pseudo inst. Change-Id: I53468103d7f046b85cc25cbff94b12dbc946f4f0 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34163 Reviewed-by: Jason Lowe-Power Reviewed-by: Gabe Black Maintainer: Gabe Black Tested-by: kokoro --- src/arch/x86/process.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index d4986c251..0644fa924 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -474,8 +474,8 @@ X86_64Process::initState() /* System call handler */ uint8_t syscallBlob[] = { - // mov %rax, (0xffffc90000005600) - 0x48, 0xa3, 0x00, 0x60, 0x00, + // mov %rax, (0xffffc90000007000) + 0x48, 0xa3, 0x00, 0x70, 0x00, 0x00, 0x00, 0xc9, 0xff, 0xff, // sysret 0x48, 0x0f, 0x07 -- 2.30.2