Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:09

0001 /*
0002  * Copyright (c) 2003-2006 The Regents of The University of Michigan
0003  * All rights reserved.
0004  *
0005  * Redistribution and use in source and binary forms, with or without
0006  * modification, are permitted provided that the following conditions are
0007  * met: redistributions of source code must retain the above copyright
0008  * notice, this list of conditions and the following disclaimer;
0009  * redistributions in binary form must reproduce the above copyright
0010  * notice, this list of conditions and the following disclaimer in the
0011  * documentation and/or other materials provided with the distribution;
0012  * neither the name of the copyright holders nor the names of its
0013  * contributors may be used to endorse or promote products derived from
0014  * this software without specific prior written permission.
0015  *
0016  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
0017  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
0018  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
0019  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
0020  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
0021  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
0022  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
0023  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
0024  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0025  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
0026  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0027  *
0028  * Authors: Nathan Binkert
0029  *          Ali Saidi
0030  */
0031 
0032 #define arm_func                0x00
0033 #define quiesce_func            0x01
0034 #define quiescens_func          0x02
0035 #define quiescecycle_func       0x03
0036 #define quiescetime_func        0x04
0037 #define rpns_func               0x07
0038 #define wakecpu_func            0x09
0039 #define deprecated1_func        0x10 // obsolete ivlb
0040 #define deprecated2_func        0x11 // obsolete ivle
0041 #define deprecated3_func        0x20 // deprecated exit function
0042 #define exit_func               0x21
0043 #define fail_func               0x22
0044 #define initparam_func          0x30
0045 #define loadsymbol_func         0x31
0046 #define resetstats_func         0x40
0047 #define dumpstats_func          0x41
0048 #define dumprststats_func       0x42
0049 #define ckpt_func               0x43
0050 #define writefile_func          0x4F
0051 #define readfile_func           0x50
0052 #define debugbreak_func         0x51
0053 #define switchcpu_func          0x52
0054 #define addsymbol_func          0x53
0055 #define panic_func              0x54
0056 
0057 #define reserved2_func          0x56 // Reserved for user
0058 #define reserved3_func          0x57 // Reserved for user
0059 #define reserved4_func          0x58 // Reserved for user
0060 #define reserved5_func          0x59 // Reserved for user
0061 
0062 #define work_begin_func          0x5a
0063 #define work_end_func            0x5b
0064 
0065 // These operations are for critical path annotation
0066 #define annotate_func     0x55
0067 #define an_bsm            0x1
0068 #define an_esm            0x2
0069 #define an_begin          0x3
0070 #define an_end            0x4
0071 #define an_q              0x6
0072 #define an_dq             0x7
0073 #define an_wf             0x8
0074 #define an_we             0x9
0075 #define an_rq             0xA
0076 #define an_ws             0xB
0077 #define an_sq             0xC
0078 #define an_aq             0xD
0079 #define an_pq             0xE
0080 #define an_l              0xF
0081 #define an_identify       0x10
0082 #define an_getid          0x11
0083