misc: Run pre-commit run --all-files

This is reflect the updates made to black when running `pre-commit
autoupdate`.

Change-Id: Ifb7fea117f354c7f02f26926a5afdf7d67bc5919
This commit is contained in:
Bobby R. Bruce
2023-10-09 12:40:48 -07:00
parent 317d2fb5b8
commit ddf6cb88e4
183 changed files with 120 additions and 175 deletions

View File

@@ -29,6 +29,7 @@ INT_SOURCE_ROLE = "Int Source Pin"
INT_SINK_ROLE = "Int Sink Pin"
Port.compat(INT_SOURCE_ROLE, INT_SINK_ROLE)
# A source pin generally represents a single pin which might connect to
# multiple sinks.
class IntSourcePin(VectorPort):

View File

@@ -29,6 +29,7 @@ RESET_REQUEST_ROLE = "Reset Request"
RESET_RESPONSE_ROLE = "Reset Response"
Port.compat(RESET_REQUEST_ROLE, RESET_RESPONSE_ROLE)
# ResetRequestPort is an artifact request port for reset purpose.
class ResetRequestPort(Port):
def __init__(self, desc):

View File

@@ -34,6 +34,7 @@ from m5.objects.PciDevice import PciMemBar, PciMemUpperBar, PciLegacyIoBar
from m5.objects.Device import DmaDevice, DmaVirtDevice
from m5.objects.ClockedObject import ClockedObject
# PCI device model for an AMD Vega 10 based GPU. The PCI codes and BARs
# correspond to a Vega Frontier Edition hardware device. None of the PCI
# related values in this class should be changed.

View File

@@ -38,6 +38,7 @@ from m5.proxy import *
from m5.objects.AbstractNVM import *
# Distribution of the data.
# sequential: sequential (address n+1 is likely to be on the same plane as n)
# Random: @TODO Not yet implemented

View File

@@ -31,7 +31,6 @@ from m5.proxy import Parent
class LupioBLK(DmaDevice):
type = "LupioBLK"
cxx_class = "gem5::LupioBLK"
cxx_header = "dev/lupio/lupio_blk.hh"

View File

@@ -29,7 +29,6 @@ from m5.params import Param
class LupioPIC(BasicPioDevice):
type = "LupioPIC"
cxx_class = "gem5::LupioPIC"
cxx_header = "dev/lupio/lupio_pic.hh"

View File

@@ -30,7 +30,6 @@ from m5.proxy import Parent
class LupioRNG(BasicPioDevice):
type = "LupioRNG"
cxx_class = "gem5::LupioRNG"
cxx_header = "dev/lupio/lupio_rng.hh"

View File

@@ -76,7 +76,6 @@ class GenericPciHost(PciHost):
relocatable=0,
addr=0,
):
busf = bus & 0xFF
devicef = device & 0x1F
functionf = function & 0x7

View File

@@ -151,6 +151,7 @@ class T1000(Platform):
puart0 = Uart8250(pio_addr=0x1F10000000)
iob = Iob()
# Attach I/O devices that are on chip
def attachOnChipIO(self, bus):
self.iob.pio = bus.mem_side_ports