__init__.py revision 5933
15359Sgblack@eecs.umich.edu# Copyright (c) 2008 The Regents of The University of Michigan 25359Sgblack@eecs.umich.edu# All rights reserved. 35359Sgblack@eecs.umich.edu# 45359Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 55359Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 65359Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 75359Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 85359Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 95359Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 105359Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 115359Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 125359Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 135359Sgblack@eecs.umich.edu# this software without specific prior written permission. 145359Sgblack@eecs.umich.edu# 155359Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 165359Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 175359Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 185359Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 195359Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 205359Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 215359Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 225359Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 235359Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 245359Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 255359Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 265359Sgblack@eecs.umich.edu# 275359Sgblack@eecs.umich.edu# Authors: Gabe Black 285359Sgblack@eecs.umich.edu 295359Sgblack@eecs.umich.edu# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 304730Sgblack@eecs.umich.edu# All rights reserved. 314730Sgblack@eecs.umich.edu# 324730Sgblack@eecs.umich.edu# Redistribution and use of this software in source and binary forms, 334730Sgblack@eecs.umich.edu# with or without modification, are permitted provided that the 344730Sgblack@eecs.umich.edu# following conditions are met: 354730Sgblack@eecs.umich.edu# 364730Sgblack@eecs.umich.edu# The software must be used only for Non-Commercial Use which means any 374730Sgblack@eecs.umich.edu# use which is NOT directed to receiving any direct monetary 384730Sgblack@eecs.umich.edu# compensation for, or commercial advantage from such use. Illustrative 394730Sgblack@eecs.umich.edu# examples of non-commercial use are academic research, personal study, 404730Sgblack@eecs.umich.edu# teaching, education and corporate research & development. 414730Sgblack@eecs.umich.edu# Illustrative examples of commercial use are distributing products for 424730Sgblack@eecs.umich.edu# commercial advantage and providing services using the software for 434730Sgblack@eecs.umich.edu# commercial advantage. 444730Sgblack@eecs.umich.edu# 454730Sgblack@eecs.umich.edu# If you wish to use this software or functionality therein that may be 464730Sgblack@eecs.umich.edu# covered by patents for commercial use, please contact: 474730Sgblack@eecs.umich.edu# Director of Intellectual Property Licensing 484730Sgblack@eecs.umich.edu# Office of Strategy and Technology 494730Sgblack@eecs.umich.edu# Hewlett-Packard Company 504730Sgblack@eecs.umich.edu# 1501 Page Mill Road 514730Sgblack@eecs.umich.edu# Palo Alto, California 94304 524730Sgblack@eecs.umich.edu# 534730Sgblack@eecs.umich.edu# Redistributions of source code must retain the above copyright notice, 544730Sgblack@eecs.umich.edu# this list of conditions and the following disclaimer. Redistributions 554730Sgblack@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of 564730Sgblack@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or 574730Sgblack@eecs.umich.edu# other materials provided with the distribution. Neither the name of 584730Sgblack@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 594730Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 604730Sgblack@eecs.umich.edu# this software without specific prior written permission. No right of 614730Sgblack@eecs.umich.edu# sublicense is granted herewith. Derivatives of the software and 624730Sgblack@eecs.umich.edu# output created using the software may be prepared, but only for 634730Sgblack@eecs.umich.edu# Non-Commercial Uses. Derivatives of the software may be shared with 644730Sgblack@eecs.umich.edu# others provided: (i) the others agree to abide by the list of 654730Sgblack@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions; 664730Sgblack@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright 674730Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where 684730Sgblack@eecs.umich.edu# applicable, this list of conditions and the disclaimer below. 694730Sgblack@eecs.umich.edu# 704730Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 714730Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 724730Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 734730Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 744730Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 754730Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 764730Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 774730Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 784730Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 794730Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 804730Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 814730Sgblack@eecs.umich.edu# 824730Sgblack@eecs.umich.edu# Authors: Gabe Black 834730Sgblack@eecs.umich.edu 845933Sgblack@eecs.umich.educategories = ["control_registers", 855933Sgblack@eecs.umich.edu "halt", 865359Sgblack@eecs.umich.edu "invlpg", 875173Sgblack@eecs.umich.edu "undefined_operation", 885291Sgblack@eecs.umich.edu "msrs", 895291Sgblack@eecs.umich.edu "segmentation"] 904730Sgblack@eecs.umich.edu 914730Sgblack@eecs.umich.edumicrocode = "" 924730Sgblack@eecs.umich.edufor category in categories: 934730Sgblack@eecs.umich.edu exec "import %s as cat" % category 944730Sgblack@eecs.umich.edu microcode += cat.microcode 954730Sgblack@eecs.umich.edu 96