Review Board 2.0.15


SegInit, x86: Segment initialization to support KvmCPU in SE

Review Request #2322 - Created Aug. 1, 2014 and submitted - Latest diff uploaded

Information
Alexandru Dutu
gem5
default
Reviewers
Default
Changeset 10302:8bbfa3e4752c
---------------------------
SegInit, 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.
Quick regression tests