From 6d412f63a321ae1bd4247d9fdc0d4c34159d741c Mon Sep 17 00:00:00 2001
From: Nathan Binkert <binkertn@umich.edu>
Date: Wed, 6 Apr 2005 17:05:30 -0400
Subject: Add TcpPort and UdpPort as python types

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

--HG--
extra : convert_revision : c26fdd93d3bc35d9f1563ac1087a7f75471c9020
---
 python/m5/objects/SimConsole.mpy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'python/m5/objects/SimConsole.mpy')

diff --git a/python/m5/objects/SimConsole.mpy b/python/m5/objects/SimConsole.mpy
index 3588a949d..53ddaa25c 100644
--- a/python/m5/objects/SimConsole.mpy
+++ b/python/m5/objects/SimConsole.mpy
@@ -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'
-- 
cgit v1.2.3