x86: Use the right register type when initializing x86 kvm processes.
authorGabe Black <gabe.black@gmail.com>
Wed, 16 Dec 2020 01:36:26 +0000 (17:36 -0800)
committerGabe Black <gabe.black@gmail.com>
Wed, 16 Dec 2020 09:03:48 +0000 (09:03 +0000)
commitc29457b7a0c3f31aaa94b8bfe3d84e9fc553bf21
treeacbf8026e05ea31537ccd1091014b7e8c86dabb3
parent2a0867f51c996d408fbd970b78d08efd23c8bf10
x86: Use the right register type when initializing x86 kvm processes.

Functionally this doesn't matter, since no bitfields are used in the
type and it devolves into just being a uint64_t, but we should use CR8
and not CR4 when initializing the CR8 register.

Change-Id: Ifc7dc9072d552f7010afce9115427c8ed624ebb9
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38535
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
src/arch/x86/process.cc