summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/m5/objects/Uart.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/m5/objects/Uart.py b/python/m5/objects/Uart.py
index cfb09acad..57b8b44af 100644
--- a/python/m5/objects/Uart.py
+++ b/python/m5/objects/Uart.py
@@ -3,5 +3,13 @@ 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'
+