3e5e3e2d28
is defined. build/SConstruct: Default ALPHA_TLASER to false dev/uart8250.cc: fix paths --HG-- extra : convert_revision : 3616b5b4b9060860a73568a4ed4f1e8eb991938f
16 lines
337 B
Python
16 lines
337 B
Python
from m5 import *
|
|
from Device import PioDevice
|
|
|
|
class Uart(PioDevice):
|
|
type = 'Uart'
|
|
abstract = True
|
|
console = Param.SimConsole(Parent.any, "The console")
|
|
size = Param.Addr(0x8, "Device size")
|
|
|
|
class Uart8250(Uart):
|
|
type = 'Uart8250'
|
|
|
|
if build_env['ALPHA_TLASER']:
|
|
class Uart8530(Uart):
|
|
type = 'Uart8530'
|
|
|