diff options
author | Alexandru Dutu <alexandru.dutu@amd.com> | 2014-11-23 18:01:08 -0800 |
---|---|---|
committer | Alexandru Dutu <alexandru.dutu@amd.com> | 2014-11-23 18:01:08 -0800 |
commit | adbaa4dfde96d5aaf84adf0ae4989ef880aad726 (patch) | |
tree | d0f597266fc27c9b7bfa36312fee1de1fea6c450 /util/m5/m5ops.h | |
parent | 335514dfdc63c6f8e34cc172e2582ceca548a07c (diff) | |
download | gem5-adbaa4dfde96d5aaf84adf0ae4989ef880aad726.tar.xz |
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.
Diffstat (limited to 'util/m5/m5ops.h')
-rw-r--r-- | util/m5/m5ops.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 |