17949SAli.Saidi@ARM.com# -*- mode:python -*- 27949SAli.Saidi@ARM.com 37949SAli.Saidi@ARM.com# Copyright (c) 2010 ARM Limited 47949SAli.Saidi@ARM.com# All rights reserved. 57949SAli.Saidi@ARM.com# 67949SAli.Saidi@ARM.com# The license below extends only to copyright in the software and shall 77949SAli.Saidi@ARM.com# not be construed as granting a license to any other intellectual 87949SAli.Saidi@ARM.com# property including but not limited to intellectual property relating 97949SAli.Saidi@ARM.com# to a hardware implementation of the functionality of the software 107949SAli.Saidi@ARM.com# licensed hereunder. You may use the software subject to the license 117949SAli.Saidi@ARM.com# terms below provided that you ensure that this notice is replicated 127949SAli.Saidi@ARM.com# unmodified and in its entirety in all distributions of the software, 137949SAli.Saidi@ARM.com# modified or unmodified, in source code or in binary form. 147949SAli.Saidi@ARM.com# 157949SAli.Saidi@ARM.com# Redistribution and use in source and binary forms, with or without 167949SAli.Saidi@ARM.com# modification, are permitted provided that the following conditions are 177949SAli.Saidi@ARM.com# met: redistributions of source code must retain the above copyright 187949SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer; 197949SAli.Saidi@ARM.com# redistributions in binary form must reproduce the above copyright 207949SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer in the 217949SAli.Saidi@ARM.com# documentation and/or other materials provided with the distribution; 227949SAli.Saidi@ARM.com# neither the name of the copyright holders nor the names of its 237949SAli.Saidi@ARM.com# contributors may be used to endorse or promote products derived from 247949SAli.Saidi@ARM.com# this software without specific prior written permission. 257949SAli.Saidi@ARM.com# 267949SAli.Saidi@ARM.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 277949SAli.Saidi@ARM.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 287949SAli.Saidi@ARM.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 297949SAli.Saidi@ARM.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 307949SAli.Saidi@ARM.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 317949SAli.Saidi@ARM.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 327949SAli.Saidi@ARM.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 337949SAli.Saidi@ARM.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 347949SAli.Saidi@ARM.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 357949SAli.Saidi@ARM.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 367949SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 377949SAli.Saidi@ARM.com# 387949SAli.Saidi@ARM.com# Authors: William Wang 397949SAli.Saidi@ARM.com 407949SAli.Saidi@ARM.comImport('*') 417949SAli.Saidi@ARM.com 429330Schander.sudanthi@arm.comSimObject('Vnc.py') 439330Schander.sudanthi@arm.comSource('vncinput.cc') 448739Sgblack@eecs.umich.eduSource('vncserver.cc') 458739Sgblack@eecs.umich.eduDebugFlag('VNC') 46