arm,fastmodel: Update the VExpressFastModel to use ArmInterruptPins.
The HDLCD device now uses an ArmInterruptPin instead of a GIC and interrupt number parameter. Change-Id: I31122e66a1c18f61592f3dca214ee057baad8f88 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35039 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from m5.objects.FastModelGIC import FastModelGIC, SCFastModelGIC
|
||||
from m5.objects.Gic import ArmInterruptPin
|
||||
from m5.objects.RealView import VExpress_GEM5_Base, HDLcd
|
||||
|
||||
class VExpressFastmodel(VExpress_GEM5_Base):
|
||||
@@ -35,7 +36,8 @@ class VExpressFastmodel(VExpress_GEM5_Base):
|
||||
))
|
||||
|
||||
hdlcd = HDLcd(
|
||||
pxl_clk=VExpress_GEM5_Base.dcc.osc_pxl, pio_addr=0x2b000000, int_num=95)
|
||||
pxl_clk=VExpress_GEM5_Base.dcc.osc_pxl, pio_addr=0x2b000000,
|
||||
interrupt=ArmInterruptPin(num=95))
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(VExpressFastmodel, self).__init__(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user