x86: Change some CR0 settings when setting up kvm x86 processes.
authorGabe Black <gabe.black@gmail.com>
Wed, 16 Dec 2020 01:38:12 +0000 (17:38 -0800)
committerGabe Black <gabe.black@gmail.com>
Thu, 17 Dec 2020 03:30:01 +0000 (03:30 +0000)
commitaad4ee30c44e9a6b04039ef989bb77d34b78efc7
tree4dd171414a692e698e5bd1027f263d8d188b2eb4
parentcc0d4a8fd633467952ca7e2c1adcd4ffe508770f
x86: Change some CR0 settings when setting up kvm x86 processes.

These values were (seemingly) arbitrarily changed from the original,
non-KVM settings, and no longer matched the comments which were also
copied over. These two bits enable alignment checking on memory accesses
(not normally used on x86), and whether kernel code can write to read
only pages.

Change-Id: I48e560e448e4849607f12e9336d1ab0458ad9407
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38536
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/process.cc