From adbaa4dfde96d5aaf84adf0ae4989ef880aad726 Mon Sep 17 00:00:00 2001 From: Alexandru Dutu Date: Sun, 23 Nov 2014 18:01:08 -0800 Subject: kvm, x86: Adding support for SE mode execution This patch adds methods in KvmCPU model to handle KVM exits caused by syscall instructions and page faults. These types of exits will be encountered if KvmCPU is run in SE mode. --- util/m5/m5ops.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'util/m5') diff --git a/util/m5/m5ops.h b/util/m5/m5ops.h index 8ff1ac42f..cd3b17b2d 100644 --- a/util/m5/m5ops.h +++ b/util/m5/m5ops.h @@ -59,8 +59,11 @@ #define reserved4_func 0x58 // Reserved for user #define reserved5_func 0x59 // Reserved for user -#define work_begin_func 0x5a -#define work_end_func 0x5b +#define work_begin_func 0x5a +#define work_end_func 0x5b + +#define syscall_func 0x60 // Reserved for user +#define pagefault_func 0x61 // Reserved for user // These operations are for critical path annotation #define annotate_func 0x55 -- cgit v1.2.3