system_calls.py revision 5081:2ccce8600a9d
13569Sgblack@eecs.umich.edu# Copyright (c) 2007 The Hewlett-Packard Development Company
23569Sgblack@eecs.umich.edu# All rights reserved.
33569Sgblack@eecs.umich.edu#
43569Sgblack@eecs.umich.edu# Redistribution and use of this software in source and binary forms,
53569Sgblack@eecs.umich.edu# with or without modification, are permitted provided that the
63569Sgblack@eecs.umich.edu# following conditions are met:
73569Sgblack@eecs.umich.edu#
83569Sgblack@eecs.umich.edu# The software must be used only for Non-Commercial Use which means any
93569Sgblack@eecs.umich.edu# use which is NOT directed to receiving any direct monetary
103569Sgblack@eecs.umich.edu# compensation for, or commercial advantage from such use.  Illustrative
113569Sgblack@eecs.umich.edu# examples of non-commercial use are academic research, personal study,
123569Sgblack@eecs.umich.edu# teaching, education and corporate research & development.
133569Sgblack@eecs.umich.edu# Illustrative examples of commercial use are distributing products for
143569Sgblack@eecs.umich.edu# commercial advantage and providing services using the software for
153569Sgblack@eecs.umich.edu# commercial advantage.
163569Sgblack@eecs.umich.edu#
173569Sgblack@eecs.umich.edu# If you wish to use this software or functionality therein that may be
183569Sgblack@eecs.umich.edu# covered by patents for commercial use, please contact:
193569Sgblack@eecs.umich.edu#     Director of Intellectual Property Licensing
203569Sgblack@eecs.umich.edu#     Office of Strategy and Technology
213569Sgblack@eecs.umich.edu#     Hewlett-Packard Company
223569Sgblack@eecs.umich.edu#     1501 Page Mill Road
233569Sgblack@eecs.umich.edu#     Palo Alto, California  94304
243569Sgblack@eecs.umich.edu#
253569Sgblack@eecs.umich.edu# Redistributions of source code must retain the above copyright notice,
263569Sgblack@eecs.umich.edu# this list of conditions and the following disclaimer.  Redistributions
273569Sgblack@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of
283804Ssaidi@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or
293569Sgblack@eecs.umich.edu# other materials provided with the distribution.  Neither the name of
303569Sgblack@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
313918Ssaidi@eecs.umich.edu# contributors may be used to endorse or promote products derived from
323918Ssaidi@eecs.umich.edu# this software without specific prior written permission.  No right of
333804Ssaidi@eecs.umich.edu# sublicense is granted herewith.  Derivatives of the software and
343811Ssaidi@eecs.umich.edu# output created using the software may be prepared, but only for
353569Sgblack@eecs.umich.edu# Non-Commercial Uses.  Derivatives of the software may be shared with
363824Ssaidi@eecs.umich.edu# others provided: (i) the others agree to abide by the list of
373811Ssaidi@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
383811Ssaidi@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright
393823Ssaidi@eecs.umich.edu# notice to acknowledge the contribution from this software where
403823Ssaidi@eecs.umich.edu# applicable, this list of conditions and the disclaimer below.
413823Ssaidi@eecs.umich.edu#
424103Ssaidi@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
433569Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
443804Ssaidi@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
453804Ssaidi@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
464088Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
473569Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
485034Smilesck@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
495034Smilesck@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
503881Ssaidi@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
513804Ssaidi@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
523804Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
533804Ssaidi@eecs.umich.edu#
543804Ssaidi@eecs.umich.edu# Authors: Gabe Black
553569Sgblack@eecs.umich.edu
563804Ssaidi@eecs.umich.edumicrocode = ""
573918Ssaidi@eecs.umich.edu#let {{
583881Ssaidi@eecs.umich.edu#    class SYSENTER(Inst):
593881Ssaidi@eecs.umich.edu# 	"GenFault ${new UnimpInstFault}"
603881Ssaidi@eecs.umich.edu#    class SYSEXIT(Inst):
614990Sgblack@eecs.umich.edu# 	"GenFault ${new UnimpInstFault}"
624990Sgblack@eecs.umich.edu#    class SYSCALL(Inst):
634990Sgblack@eecs.umich.edu# 	"GenFault ${new UnimpInstFault}"
644990Sgblack@eecs.umich.edu#    class SYSRET(Inst):
654990Sgblack@eecs.umich.edu# 	"GenFault ${new UnimpInstFault}"
664990Sgblack@eecs.umich.edu#}};
674990Sgblack@eecs.umich.edu