x86: Stop clearing RAX for BIST in initCPU.
authorGabe Black <gabeblack@google.com>
Thu, 9 Jan 2020 09:08:09 +0000 (01:08 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 14 Jan 2020 02:19:19 +0000 (02:19 +0000)
commit80c5add40b096e29fa45d266104af54733f925f0
treeb87ae87e9f8980c1b8caa51be91b4422592253da
parent8a3ba27dfe5e5b716b9b35e0ef62c40d5b5cc223
x86: Stop clearing RAX for BIST in initCPU.

This doesn't actually change any behavior since RAX was being zeroed
anyway, but since we don't and almost certainly never will have a BIST
and the BIST is optional even in real hardware, we can drop it and
simplify initCPU a little further.

This reduces x86's initCPU function to just an invocation of
InitInterrupt's invoke.

Change-Id: I56b1aae2c1a738ef7ffabcf648dd7d0fb819d4e0
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24187
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/arch/x86/utility.cc