Add TcpPort and UdpPort as python types

python/m5/objects/SimConsole.mpy:
    the listener port is a TcpPort

--HG--
extra : convert_revision : c26fdd93d3bc35d9f1563ac1087a7f75471c9020
This commit is contained in:
Nathan Binkert
2005-04-06 17:05:30 -04:00
parent b82bd61946
commit 6d412f63a3
2 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
simobj ConsoleListener(SimObject):
type = 'ConsoleListener'
port = Param.UInt16(3456, "listen port")
port = Param.TcpPort(3456, "listen port")
simobj SimConsole(SimObject):
type = 'SimConsole'