blob: 57b8b44af79dfaba52e8d8e90546dda402396607 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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'
class Uart8530(Uart):
type = 'Uart8530'
|