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/Cmos.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/Cmos.py')
-rw-r--r-- | src/dev/x86/Cmos.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dev/x86/Cmos.py b/src/dev/x86/Cmos.py index 9bc395cb2..e5d2d6d34 100644 --- a/src/dev/x86/Cmos.py +++ b/src/dev/x86/Cmos.py @@ -29,7 +29,7 @@ from m5.params import * from m5.proxy import * from m5.objects.Device import BasicPioDevice -from m5.objects.X86IntPin import X86IntSourcePin +from m5.objects.IntPin import IntSourcePin class Cmos(BasicPioDevice): type = 'Cmos' @@ -37,5 +37,4 @@ class Cmos(BasicPioDevice): cxx_header = "dev/x86/cmos.hh" time = Param.Time('01/01/2012', "System time to use ('Now' for actual time)") - int_pin = Param.X86IntSourcePin(X86IntSourcePin(), - 'Pin to signal RTC alarm interrupts to') + int_pin = IntSourcePin('Pin to signal RTC alarm interrupts to') |