Vnc.py (9330:4a3269a11230) Vnc.py (9338:97b4a2be1e5b)
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 26 unchanged lines hidden (view full) ---

35#
36# Authors: William Wang
37
38from m5.SimObject import SimObject
39from m5.params import *
40
41class VncInput(SimObject):
42 type = 'VncInput'
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 26 unchanged lines hidden (view full) ---

35#
36# Authors: William Wang
37
38from m5.SimObject import SimObject
39from m5.params import *
40
41class VncInput(SimObject):
42 type = 'VncInput'
43 cxx_header = "base/vnc/vncinput.hh"
43 frame_capture = Param.Bool(False, "capture changed frames to files")
44
45class VncServer(VncInput):
46 type = 'VncServer'
44 frame_capture = Param.Bool(False, "capture changed frames to files")
45
46class VncServer(VncInput):
47 type = 'VncServer'
48 cxx_header = "base/vnc/vncserver.hh"
47 port = Param.TcpPort(5900, "listen port")
48 number = Param.Int(0, "vnc client number")
49 port = Param.TcpPort(5900, "listen port")
50 number = Param.Int(0, "vnc client number")