x86: Move local APIC initialization out of initCPU.
authorGabe Black <gabeblack@google.com>
Thu, 9 Jan 2020 09:00:55 +0000 (01:00 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 14 Jan 2020 02:19:19 +0000 (02:19 +0000)
commit8a3ba27dfe5e5b716b9b35e0ef62c40d5b5cc223
treea22d1770e87c7ae32f800a45599bf7c5ced4b594
parent2012a0c6519a7198e7158f9bc07b97b98fdd357a
x86: Move local APIC initialization out of initCPU.

The APIC can (and probably should) set its version register on its
own. Also it already configures its CPUID register when associated
with a CPU and doesn't need initCPU to do that.

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