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 | f743bdcb6994a4e0e413e1a3499f7424b5ec2efa (patch) | |
tree | 86f81f804d3a17f4c1b4530e040e144fcf21389b /src/mem/page_table.cc | |
parent | adbaa4dfde96d5aaf84adf0ae4989ef880aad726 (diff) | |
download | gem5-f743bdcb6994a4e0e413e1a3499f7424b5ec2efa.tar.xz |
x86: Segment initialization to support KvmCPU in SE
This patch sets up low and high privilege code and data segments and places them
in the following order: cs low, ds low, ds, cs, in the GDT. Additionally, a
syscall and page fault handler for KvmCPU in SE mode are defined. The order of
the segment selectors in GDT is required in this manner for interrupt handling
to work properly. Segment initialization is done for all the thread
contexts.
Diffstat (limited to 'src/mem/page_table.cc')
0 files changed, 0 insertions, 0 deletions