system_calls.py revision 5081
16145SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company 26386SN/A# All rights reserved. 36386SN/A# 46386SN/A# Redistribution and use of this software in source and binary forms, 56386SN/A# with or without modification, are permitted provided that the 66386SN/A# following conditions are met: 76386SN/A# 86386SN/A# The software must be used only for Non-Commercial Use which means any 96386SN/A# use which is NOT directed to receiving any direct monetary 106386SN/A# compensation for, or commercial advantage from such use. Illustrative 116386SN/A# examples of non-commercial use are academic research, personal study, 126386SN/A# teaching, education and corporate research & development. 136386SN/A# Illustrative examples of commercial use are distributing products for 146386SN/A# commercial advantage and providing services using the software for 156386SN/A# commercial advantage. 166386SN/A# 176386SN/A# If you wish to use this software or functionality therein that may be 186386SN/A# covered by patents for commercial use, please contact: 196386SN/A# Director of Intellectual Property Licensing 206386SN/A# Office of Strategy and Technology 216386SN/A# Hewlett-Packard Company 226386SN/A# 1501 Page Mill Road 236386SN/A# Palo Alto, California 94304 246386SN/A# 256386SN/A# Redistributions of source code must retain the above copyright notice, 266386SN/A# this list of conditions and the following disclaimer. Redistributions 276386SN/A# in binary form must reproduce the above copyright notice, this list of 286145SN/A# conditions and the following disclaimer in the documentation and/or 297553SN/A# other materials provided with the distribution. Neither the name of 307553SN/A# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 317553SN/A# contributors may be used to endorse or promote products derived from 327553SN/A# this software without specific prior written permission. No right of 337553SN/A# sublicense is granted herewith. Derivatives of the software and 346145SN/A# output created using the software may be prepared, but only for 357553SN/A# Non-Commercial Uses. Derivatives of the software may be shared with 367553SN/A# others provided: (i) the others agree to abide by the list of 376145SN/A# conditions herein which includes the Non-Commercial Use restrictions; 387632SBrad.Beckmann@amd.com# and (ii) such Derivatives of the software include the above copyright 397632SBrad.Beckmann@amd.com# notice to acknowledge the contribution from this software where 407553SN/A# applicable, this list of conditions and the disclaimer below. 417553SN/A# 426145SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 437553SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 447553SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 457553SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 467553SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 477553SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 487553SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 497553SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 507553SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 517553SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 528655Sandreas.hansson@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 537553SN/A# 547553SN/A# Authors: Gabe Black 557553SN/A 567553SN/Amicrocode = "" 578655Sandreas.hansson@arm.com#let {{ 588655Sandreas.hansson@arm.com# class SYSENTER(Inst): 599365Snilay@cs.wisc.edu# "GenFault ${new UnimpInstFault}" 606145SN/A# class SYSEXIT(Inst): 616145SN/A# "GenFault ${new UnimpInstFault}" 627553SN/A# class SYSCALL(Inst): 636145SN/A# "GenFault ${new UnimpInstFault}" 64# class SYSRET(Inst): 65# "GenFault ${new UnimpInstFault}" 66#}}; 67