x86: Turn the local APIC Interrupts class into a SimObject.
authorGabe Black <gabeblack@google.com>
Wed, 11 Sep 2019 23:45:41 +0000 (16:45 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 18 Oct 2019 21:50:26 +0000 (21:50 +0000)
commitc75d185d8ada4345ac3323b6603fedc4a79c94cc
tree5ad202d1fd8ffad1d46563076ca03e49225e46c1
parentcb1d9d5774b04d6acb6fc3cf27f2bab870f69fc2
x86: Turn the local APIC Interrupts class into a SimObject.

It will no longer be a PioDevice or a ClockedObject, but will carry
forward the little bits and pieces of those classes that it was using.
Those are a PIO port for memory mapped register accesses, and a clock
domain parameter for setting the apic tick frequency.

This brings the x86 Interrupts class in line with the Interrupts of the
other ISAs so that they can inherit from a standard base class.

Change-Id: I6b25fa21911b39a756e0cf9408c5489a81d6ca56
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20829
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/X86LocalApic.py
src/arch/x86/interrupts.cc
src/arch/x86/interrupts.hh