exit_media_state.py revision 5081:2ccce8600a9d
110428Sandreas.hansson@arm.com# Copyright (c) 2007 The Hewlett-Packard Development Company 210428Sandreas.hansson@arm.com# All rights reserved. 310428Sandreas.hansson@arm.com# 410428Sandreas.hansson@arm.com# Redistribution and use of this software in source and binary forms, 510428Sandreas.hansson@arm.com# with or without modification, are permitted provided that the 610428Sandreas.hansson@arm.com# following conditions are met: 710428Sandreas.hansson@arm.com# 810428Sandreas.hansson@arm.com# The software must be used only for Non-Commercial Use which means any 910428Sandreas.hansson@arm.com# use which is NOT directed to receiving any direct monetary 1010428Sandreas.hansson@arm.com# compensation for, or commercial advantage from such use. Illustrative 1110428Sandreas.hansson@arm.com# examples of non-commercial use are academic research, personal study, 1210428Sandreas.hansson@arm.com# teaching, education and corporate research & development. 1310428Sandreas.hansson@arm.com# Illustrative examples of commercial use are distributing products for 1410428Sandreas.hansson@arm.com# commercial advantage and providing services using the software for 1510428Sandreas.hansson@arm.com# commercial advantage. 1610428Sandreas.hansson@arm.com# 1710428Sandreas.hansson@arm.com# If you wish to use this software or functionality therein that may be 1810428Sandreas.hansson@arm.com# covered by patents for commercial use, please contact: 1910428Sandreas.hansson@arm.com# Director of Intellectual Property Licensing 2010428Sandreas.hansson@arm.com# Office of Strategy and Technology 2110428Sandreas.hansson@arm.com# Hewlett-Packard Company 2210428Sandreas.hansson@arm.com# 1501 Page Mill Road 2310428Sandreas.hansson@arm.com# Palo Alto, California 94304 2410428Sandreas.hansson@arm.com# 2510428Sandreas.hansson@arm.com# Redistributions of source code must retain the above copyright notice, 2610428Sandreas.hansson@arm.com# this list of conditions and the following disclaimer. Redistributions 2710428Sandreas.hansson@arm.com# in binary form must reproduce the above copyright notice, this list of 2810428Sandreas.hansson@arm.com# conditions and the following disclaimer in the documentation and/or 2910428Sandreas.hansson@arm.com# other materials provided with the distribution. Neither the name of 3010428Sandreas.hansson@arm.com# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 3110428Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 3210428Sandreas.hansson@arm.com# this software without specific prior written permission. No right of 3310428Sandreas.hansson@arm.com# sublicense is granted herewith. Derivatives of the software and 3410428Sandreas.hansson@arm.com# output created using the software may be prepared, but only for 3510428Sandreas.hansson@arm.com# Non-Commercial Uses. Derivatives of the software may be shared with 3610428Sandreas.hansson@arm.com# others provided: (i) the others agree to abide by the list of 3710428Sandreas.hansson@arm.com# conditions herein which includes the Non-Commercial Use restrictions; 3810428Sandreas.hansson@arm.com# and (ii) such Derivatives of the software include the above copyright 3910428Sandreas.hansson@arm.com# notice to acknowledge the contribution from this software where 4010428Sandreas.hansson@arm.com# applicable, this list of conditions and the disclaimer below. 4110428Sandreas.hansson@arm.com# 4210428Sandreas.hansson@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4310428Sandreas.hansson@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4410428Sandreas.hansson@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 4510428Sandreas.hansson@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 4610428Sandreas.hansson@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4710428Sandreas.hansson@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 4810428Sandreas.hansson@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4910428Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 5010428Sandreas.hansson@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 5110428Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5210428Sandreas.hansson@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5310428Sandreas.hansson@arm.com# 5410428Sandreas.hansson@arm.com# Authors: Gabe Black 5510428Sandreas.hansson@arm.com 5610428Sandreas.hansson@arm.commicrocode = ''' 5710428Sandreas.hansson@arm.com# EMMS 5810428Sandreas.hansson@arm.com# FEMMS 5910428Sandreas.hansson@arm.com''' 6010428Sandreas.hansson@arm.com