config: Get rid of some extra spaces around default arguments.

This commit is contained in:
Gabe Black 2014-12-03 03:11:00 -08:00
parent ecec8cde63
commit b7dc4ba516

View file

@ -55,7 +55,7 @@ class MemBus(CoherentXBar):
default = Self.badaddr_responder.pio default = Self.badaddr_responder.pio
def makeLinuxAlphaSystem(mem_mode, mdesc = None, ruby = False): def makeLinuxAlphaSystem(mem_mode, mdesc=None, ruby=False):
class BaseTsunami(Tsunami): class BaseTsunami(Tsunami):
ethernet = NSGigE(pci_bus=0, pci_dev=1, pci_func=0) ethernet = NSGigE(pci_bus=0, pci_dev=1, pci_func=0)
@ -117,7 +117,7 @@ def makeLinuxAlphaSystem(mem_mode, mdesc = None, ruby = False):
return self return self
def makeSparcSystem(mem_mode, mdesc = None): def makeSparcSystem(mem_mode, mdesc=None):
# Constants from iob.cc and uart8250.cc # Constants from iob.cc and uart8250.cc
iob_man_addr = 0x9800000000 iob_man_addr = 0x9800000000
uart_pio_size = 8 uart_pio_size = 8
@ -182,8 +182,8 @@ def makeSparcSystem(mem_mode, mdesc = None):
return self return self
def makeArmSystem(mem_mode, machine_type, num_cpus = 1, mdesc = None, def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
dtb_filename = None, bare_metal=False): dtb_filename=None, bare_metal=False):
assert machine_type assert machine_type
if bare_metal: if bare_metal:
@ -290,7 +290,7 @@ def makeArmSystem(mem_mode, machine_type, num_cpus = 1, mdesc = None,
return self return self
def makeLinuxMipsSystem(mem_mode, mdesc = None): def makeLinuxMipsSystem(mem_mode, mdesc=None):
class BaseMalta(Malta): class BaseMalta(Malta):
ethernet = NSGigE(pci_bus=0, pci_dev=1, pci_func=0) ethernet = NSGigE(pci_bus=0, pci_dev=1, pci_func=0)
ide = IdeController(disks=[Parent.disk0, Parent.disk2], ide = IdeController(disks=[Parent.disk0, Parent.disk2],
@ -390,8 +390,7 @@ def connectX86RubySystem(x86_sys):
x86_sys.pc.attachIO(x86_sys.iobus, x86_sys._dma_ports) x86_sys.pc.attachIO(x86_sys.iobus, x86_sys._dma_ports)
def makeX86System(mem_mode, numCPUs = 1, mdesc = None, self = None, def makeX86System(mem_mode, numCPUs=1, mdesc=None, self=None, Ruby=False):
Ruby = False):
if self == None: if self == None:
self = X86System() self = X86System()
@ -502,8 +501,7 @@ def makeX86System(mem_mode, numCPUs = 1, mdesc = None, self = None,
self.intel_mp_table.base_entries = base_entries self.intel_mp_table.base_entries = base_entries
self.intel_mp_table.ext_entries = ext_entries self.intel_mp_table.ext_entries = ext_entries
def makeLinuxX86System(mem_mode, numCPUs = 1, mdesc = None, def makeLinuxX86System(mem_mode, numCPUs=1, mdesc=None, Ruby=False):
Ruby = False):
self = LinuxX86System() self = LinuxX86System()
# Build up the x86 system and then specialize it for Linux # Build up the x86 system and then specialize it for Linux