diff options
author | Gabe Black <gabeblack@google.com> | 2019-09-06 15:22:22 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-09-20 17:54:39 +0000 |
commit | ab376064bdfa9796eebad5ee8d84c766e7a30bd6 (patch) | |
tree | 291365a98580568244fe15137b26c85f9abf900c /src/dev/x86/I82094AA.py | |
parent | 67e310836baa0e652ae7a3b4ebd00263a52239c2 (diff) | |
download | gem5-ab376064bdfa9796eebad5ee8d84c766e7a30bd6.tar.xz |
dev, x86: Convert x86 devices to the generic int pins.
Change-Id: I4551ad00cf205c31555c90b53e87bc206a8d8729
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20701
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/dev/x86/I82094AA.py')
-rw-r--r-- | src/dev/x86/I82094AA.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dev/x86/I82094AA.py b/src/dev/x86/I82094AA.py index d848904f0..3336e4442 100644 --- a/src/dev/x86/I82094AA.py +++ b/src/dev/x86/I82094AA.py @@ -29,7 +29,7 @@ from m5.params import * from m5.proxy import * from m5.objects.Device import BasicPioDevice -from m5.objects.X86IntPin import X86IntSinkPin +from m5.objects.IntPin import VectorIntSinkPin class I82094AA(BasicPioDevice): type = 'I82094AA' @@ -41,5 +41,4 @@ class I82094AA(BasicPioDevice): "Latency for an interrupt to propagate through this device.") external_int_pic = Param.I8259(NULL, "External PIC, if any") - def pin(self, line): - return X86IntSinkPin(device=self, number=line) + inputs = VectorIntSinkPin('The pins that drive this IO APIC') |