Vnc.py (9338:97b4a2be1e5b) | Vnc.py (12230:48021d6b51eb) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35# 36# Authors: William Wang 37 38from m5.SimObject import SimObject 39from m5.params import * | 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 --- 23 unchanged lines hidden (view full) --- 32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35# 36# Authors: William Wang 37 38from m5.SimObject import SimObject 39from m5.params import * |
40from Graphics import * |
|
40 | 41 |
42 |
|
41class VncInput(SimObject): 42 type = 'VncInput' 43 cxx_header = "base/vnc/vncinput.hh" 44 frame_capture = Param.Bool(False, "capture changed frames to files") | 43class VncInput(SimObject): 44 type = 'VncInput' 45 cxx_header = "base/vnc/vncinput.hh" 46 frame_capture = Param.Bool(False, "capture changed frames to files") |
47 img_format = Param.ImageFormat( 48 "Bitmap", "Format of the dumped Framebuffer" 49 ) |
|
45 46class VncServer(VncInput): 47 type = 'VncServer' 48 cxx_header = "base/vnc/vncserver.hh" 49 port = Param.TcpPort(5900, "listen port") 50 number = Param.Int(0, "vnc client number") | 50 51class VncServer(VncInput): 52 type = 'VncServer' 53 cxx_header = "base/vnc/vncserver.hh" 54 port = Param.TcpPort(5900, "listen port") 55 number = Param.Int(0, "vnc client number") |