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/pl111.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dev/arm/pl111.hh') diff --git a/src/dev/arm/pl111.hh b/src/dev/arm/pl111.hh index 5776f199c..49512fcc0 100644 --- a/src/dev/arm/pl111.hh +++ b/src/dev/arm/pl111.hh @@ -53,7 +53,7 @@ #include "sim/serialize.hh" class Gic; -class VncServer; +class VncInput; class Bitmap; class Pl111: public AmbaDmaDevice @@ -228,7 +228,7 @@ class Pl111: public AmbaDmaDevice InterruptReg clcdCrsrMis; /** VNC server */ - VncServer *vncserver; + VncInput *vnc; /** Helper to write out bitmaps */ Bitmap *bmp; -- cgit v1.2.3