From 55787cc0d0ecdbd060f7ee1caaaab90d2482eb67 Mon Sep 17 00:00:00 2001 From: Chander Sudanthi Date: Fri, 2 Nov 2012 11:32:00 -0500 Subject: base: split out the VncServer into a VncInput and Server classes This patch adds a VncInput base class which VncServer inherits from. Another class can implement the same interface and be used instead of the VncServer, for example a class that replays Vnc traffic. --HG-- rename : src/base/vnc/VncServer.py => src/base/vnc/Vnc.py rename : src/base/vnc/vncserver.cc => src/base/vnc/vncinput.cc rename : src/base/vnc/vncserver.hh => src/base/vnc/vncinput.hh --- src/dev/arm/RealView.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dev/arm/RealView.py') diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 93f534eb3..f0b629b38 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -128,7 +128,7 @@ class PL031(AmbaIntDevice): class Pl050(AmbaIntDevice): type = 'Pl050' - vnc = Param.VncServer(Parent.any, "Vnc server for remote frame buffer display") + vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer display") is_mouse = Param.Bool(False, "Is this interface a mouse, if not a keyboard") int_delay = '1us' amba_id = 0x00141050 @@ -137,7 +137,7 @@ class Pl111(AmbaDmaDevice): type = 'Pl111' # Override the default clock clock = '24MHz' - vnc = Param.VncServer(Parent.any, "Vnc server for remote frame buffer display") + vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer display") amba_id = 0x00141111 class RealView(Platform): -- cgit v1.2.3