亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? spr_defs.h

?? 開放源碼實時操作系統(tǒng)源碼.
?? H
?? 第 1 頁 / 共 2 頁
字號:
//==========================================================================
//
//      spr_defs.h
//
//      Defines OR1K architecture specific special-purpose registers (SPRs)
//
//==========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License along
// with eCos; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
//==========================================================================
//#####DESCRIPTIONBEGIN####
//
// Author(s):    sfurman
// Contributors: Damjan Lambert
// Date:         2003-01-17
// Purpose:      Define OpenRISC architecture special-purpose registers
// Usage:        #include <cyg/hal/hal_arch.h>
//              
//####DESCRIPTIONEND####
//
//==========================================================================

/* Definition of special-purpose registers (SPRs) */

#ifndef _ASM_SPR_DEFS_H
#define _ASM_SPR_DEFS_H

#define MAX_GRPS (32)
#define MAX_SPRS_PER_GRP_BITS (11)
#define MAX_SPRS_PER_GRP (1 << MAX_SPRS_PER_GRP_BITS)
#define MAX_SPRS (0x10000)
 
/* Base addresses for the groups */
#define SPRGROUP_SYS    (0<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_DMMU   (1<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_IMMU   (2<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_DC     (3<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_IC     (4<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_MAC    (5<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_D      (6<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_PC     (7<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_PM     (8<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_PIC    (9<< MAX_SPRS_PER_GRP_BITS)
#define SPRGROUP_TT     (10<< MAX_SPRS_PER_GRP_BITS)

/* System control and status group */
#define SPR_VR          (SPRGROUP_SYS + 0)
#define SPR_UPR         (SPRGROUP_SYS + 1)
#define SPR_PC          (SPRGROUP_SYS + 16)  /* CZ 21/06/01 */
#define SPR_SR          (SPRGROUP_SYS + 17)  /* CZ 21/06/01 */
#define SPR_EPCR_BASE   (SPRGROUP_SYS + 32)  /* CZ 21/06/01 */
#define SPR_EPCR_LAST   (SPRGROUP_SYS + 47)  /* CZ 21/06/01 */
#define SPR_EEAR_BASE   (SPRGROUP_SYS + 48)
#define SPR_EEAR_LAST   (SPRGROUP_SYS + 63)
#define SPR_ESR_BASE    (SPRGROUP_SYS + 64)
#define SPR_ESR_LAST    (SPRGROUP_SYS + 79)

#if 0
/* Data MMU group */
#define SPR_DMMUCR      (SPRGROUP_DMMU + 0)
#define SPR_DTLBMR_BASE(WAY)    (SPRGROUP_DMMU + 0x200 + (WAY) * 0x200)
#define SPR_DTLBMR_LAST(WAY)    (SPRGROUP_DMMU + 0x2ff + (WAY) * 0x200)
#define SPR_DTLBTR_BASE(WAY)    (SPRGROUP_DMMU + 0x300 + (WAY) * 0x200)
#define SPR_DTLBTR_LAST(WAY)    (SPRGROUP_DMMU + 0x3ff + (WAY) * 0x200)

/* Instruction MMU group */
#define SPR_IMMUCR      (SPRGROUP_IMMU + 0)
#define SPR_ITLBMR_BASE(WAY)    (SPRGROUP_IMMU + 0x200 + (WAY) * 0x200)
#define SPR_ITLBMR_LAST(WAY)    (SPRGROUP_IMMU + 0x2ff + (WAY) * 0x200)
#define SPR_ITLBTR_BASE(WAY)    (SPRGROUP_IMMU + 0x300 + (WAY) * 0x200)
#define SPR_ITLBTR_LAST(WAY)    (SPRGROUP_IMMU + 0x3ff + (WAY) * 0x200)
#else
/* Data MMU group */
#define SPR_DMMUCR      (SPRGROUP_DMMU + 0)
#define SPR_DTLBMR_BASE(WAY)    (SPRGROUP_DMMU + 0x200 + (WAY) * 0x100)
#define SPR_DTLBMR_LAST(WAY)    (SPRGROUP_DMMU + 0x27f + (WAY) * 0x100)
#define SPR_DTLBTR_BASE(WAY)    (SPRGROUP_DMMU + 0x280 + (WAY) * 0x100)
#define SPR_DTLBTR_LAST(WAY)    (SPRGROUP_DMMU + 0x2ff + (WAY) * 0x100)

/* Instruction MMU group */
#define SPR_IMMUCR      (SPRGROUP_IMMU + 0)
#define SPR_ITLBMR_BASE(WAY)    (SPRGROUP_IMMU + 0x200 + (WAY) * 0x100)
#define SPR_ITLBMR_LAST(WAY)    (SPRGROUP_IMMU + 0x27f + (WAY) * 0x100)
#define SPR_ITLBTR_BASE(WAY)    (SPRGROUP_IMMU + 0x280 + (WAY) * 0x100)
#define SPR_ITLBTR_LAST(WAY)    (SPRGROUP_IMMU + 0x2ff + (WAY) * 0x100)
#endif

/* Data cache group */
#define SPR_DCCR        (SPRGROUP_DC + 0)
#define SPR_DCBPR       (SPRGROUP_DC + 1)
#define SPR_DCBFR       (SPRGROUP_DC + 2)
#define SPR_DCBIR       (SPRGROUP_DC + 3)
#define SPR_DCBWR       (SPRGROUP_DC + 4)
#define SPR_DCBLR       (SPRGROUP_DC + 5)
#define SPR_DCR_BASE(WAY)       (SPRGROUP_DC + 0x200 + (WAY) * 0x200)
#define SPR_DCR_LAST(WAY)       (SPRGROUP_DC + 0x3ff + (WAY) * 0x200)

/* Instruction cache group */
#define SPR_ICCR        (SPRGROUP_IC + 0)
#define SPR_ICBPR       (SPRGROUP_IC + 1)
#define SPR_ICBIR       (SPRGROUP_IC + 2)
#define SPR_ICBLR       (SPRGROUP_IC + 3)
#define SPR_ICR_BASE(WAY)       (SPRGROUP_IC + 0x200 + (WAY) * 0x200)
#define SPR_ICR_LAST(WAY)       (SPRGROUP_IC + 0x3ff + (WAY) * 0x200)

/* MAC group */
#define SPR_MACLO       (SPRGROUP_MAC + 1)
#define SPR_MACHI       (SPRGROUP_MAC + 2)

/* Debug group */
#define SPR_DVR(N)      (SPRGROUP_D + (N))
#define SPR_DCR(N)      (SPRGROUP_D + 8 + (N))
#define SPR_DMR1        (SPRGROUP_D + 16)
#define SPR_DMR2        (SPRGROUP_D + 17)
#define SPR_DWCR0       (SPRGROUP_D + 18)
#define SPR_DWCR1       (SPRGROUP_D + 19)
#define SPR_DSR         (SPRGROUP_D + 20)
#define SPR_DRR         (SPRGROUP_D + 21)
#define SPR_DIR         (SPRGROUP_D + 22)

/* Performance counters group */
#define SPR_PCCR(N)     (SPRGROUP_PC + (N))
#define SPR_PCMR(N)     (SPRGROUP_PC + 8 + (N))

/* Power management group */
#define SPR_PMR (SPRGROUP_PM + 0)

/* PIC group */
#define SPR_PICMR (SPRGROUP_PIC + 0)
#define SPR_PICPR (SPRGROUP_PIC + 1)
#define SPR_PICSR (SPRGROUP_PIC + 2)

/* Tick Timer group */
#define SPR_TTMR (SPRGROUP_TT + 0)
#define SPR_TTCR (SPRGROUP_TT + 1)

/*
 * Bit definitions for the Version Register
 *
 */
#define SPR_VR_VER      0xffff0000  /* Processor version */
#define SPR_VR_REV      0x0000003f  /* Processor revision */

/*
 * Bit definitions for the Unit Present Register
 *
 */
#define SPR_UPR_UP      0x00000001  /* UPR present */
#define SPR_UPR_DCP     0x00000002  /* Data cache present */
#define SPR_UPR_ICP     0x00000004  /* Instruction cache present */
#define SPR_UPR_DMP     0x00000008  /* Data MMU present */
#define SPR_UPR_IMP     0x00000010  /* Instruction MMU present */
#define SPR_UPR_OB32P   0x00000020  /* ORBIS32 present */
#define SPR_UPR_OB64P   0x00000040  /* ORBIS64 present */
#define SPR_UPR_OF32P   0x00000080  /* ORFPX32 present */
#define SPR_UPR_OF64P   0x00000100  /* ORFPX64 present */
#define SPR_UPR_OV32P   0x00000200  /* ORVDX32 present */
#define SPR_UPR_OV64P   0x00000400  /* ORVDX64 present */
#define SPR_UPR_DUP     0x00000800  /* Debug unit present */
#define SPR_UPR_PCUP    0x00001000  /* Performance counters unit present */
#define SPR_UPR_PMP     0x00002000  /* Power management present */
#define SPR_UPR_PICP    0x00004000  /* PIC present */
#define SPR_UPR_TTP     0x00008000  /* Tick timer present */
#define SPR_UPR_SRP     0x00010000  /* Shadow registers present */
#define SPR_UPR_RES     0x00fe0000  /* ORVDX32 present */
#define SPR_UPR_CUST    0xff000000  /* Custom units */

/*
 * Bit definitions for the Supervision Register
 *
 */
#define SPR_SR_CID      0xf0000000  /* Context ID */
#define SPR_SR_FO       0x00008000  /* Fixed one */
#define SPR_SR_EPH      0x00004000  /* Exception Prefixi High */
#define SPR_SR_DSX      0x00002000  /* Delay Slot Exception */
#define SPR_SR_OVE      0x00001000  /* Overflow flag Exception */
#define SPR_SR_OV       0x00000800  /* Overflow flag */
#define SPR_SR_CY       0x00000400  /* Carry flag */
#define SPR_SR_F        0x00000200  /* Condition Flag */
#define SPR_SR_CE       0x00000100  /* CID Enable */
#define SPR_SR_LEE      0x00000080  /* Little Endian Enable */
#define SPR_SR_IME      0x00000040  /* Instruction MMU Enable */
#define SPR_SR_DME      0x00000020  /* Data MMU Enable */
#define SPR_SR_ICE      0x00000010  /* Instruction Cache Enable */
#define SPR_SR_DCE      0x00000008  /* Data Cache Enable */
#define SPR_SR_IEE      0x00000004  /* Interrupt Exception Enable */
#define SPR_SR_TEE      0x00000002  /* Tick timer Exception Enable */
#define SPR_SR_SM       0x00000001  /* Supervisor Mode */
#define SPR_SR_FO_BIT    15
#define SPR_SR_EPH_BIT   14
#define SPR_SR_DSX_BIT   13
#define SPR_SR_OVE_BIT   12
#define SPR_SR_OV_BIT    11
#define SPR_SR_CY_BIT    10
#define SPR_SR_F_BIT     9
#define SPR_SR_CE_BIT    8
#define SPR_SR_LEE_BIT   7
#define SPR_SR_IME_BIT   6
#define SPR_SR_DME_BIT   5
#define SPR_SR_ICE_BIT   4
#define SPR_SR_DCE_BIT   3
#define SPR_SR_IEE_BIT   2
#define SPR_SR_TEE_BIT   1
#define SPR_SR_SM_BIT    0

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色88888久久久久久影院野外| 亚洲午夜激情av| 蜜臀99久久精品久久久久久软件| 在线免费观看日韩欧美| 一区二区三区四区在线免费观看| 色婷婷一区二区| 亚洲国产日韩一级| 欧美高清dvd| 免费成人性网站| 日韩精品影音先锋| 久久电影国产免费久久电影| 国产午夜亚洲精品午夜鲁丝片| 国产乱码精品一品二品| 久久网站最新地址| 99久久99久久精品国产片果冻| 自拍偷拍国产精品| 欧美精品乱码久久久久久按摩| 麻豆91在线播放| 精品日韩一区二区三区免费视频| 国产乱人伦偷精品视频不卡| 国产精品每日更新在线播放网址| 色噜噜狠狠色综合欧洲selulu| 日日夜夜精品视频天天综合网| 久久伊人中文字幕| 一本久道久久综合中文字幕 | 亚洲v中文字幕| 欧美一区二区三区视频在线观看| 国产一区二区调教| 亚洲精品国产一区二区精华液| 欧美高清视频在线高清观看mv色露露十八| 精品影院一区二区久久久| 欧美国产禁国产网站cc| 精品婷婷伊人一区三区三| 韩国精品在线观看| 亚洲综合成人在线视频| 欧美成人福利视频| 一本大道久久a久久精品综合| 蜜桃一区二区三区在线| **性色生活片久久毛片| 日韩精品一区二区在线| 91丨porny丨中文| 久久成人综合网| 亚洲一二三专区| 国产欧美日韩卡一| 欧美福利一区二区| 色哟哟日韩精品| 国产夫妻精品视频| 免费成人在线观看| 亚洲国产成人porn| 中文字幕日韩欧美一区二区三区| 日韩欧美一区二区不卡| 在线免费av一区| 大桥未久av一区二区三区中文| 日韩和的一区二区| 亚洲一卡二卡三卡四卡五卡| 欧美国产成人精品| 日韩精品一区二区三区四区视频| 91免费观看视频| 粉嫩av一区二区三区粉嫩| 日本不卡一区二区三区高清视频| 日韩伦理av电影| 国产性色一区二区| 日韩欧美国产综合| 欧美日韩1区2区| 91丨九色丨黑人外教| 高清不卡一区二区| 国产久卡久卡久卡久卡视频精品| 日韩福利电影在线| 日韩av电影免费观看高清完整版| 亚洲永久免费av| 亚洲男人天堂一区| 亚洲欧美在线视频| 中文字幕欧美一| 中文字幕一区二区在线观看| 亚洲mv在线观看| 一区二区三区美女| 夜夜嗨av一区二区三区网页| 亚洲欧美另类图片小说| 国产精品美女一区二区三区| 久久久久亚洲综合| 久久久久久久久久电影| 精品国产三级电影在线观看| 日韩视频中午一区| 精品国产露脸精彩对白| 亚洲精品一区二区三区香蕉| 久久综合av免费| 国产日韩欧美在线一区| 国产性色一区二区| 国产精品毛片高清在线完整版| 久久精品这里都是精品| 国产亚洲精品bt天堂精选| 日本一区二区视频在线| 国产精品的网站| 一区二区三区四区在线免费观看| 亚洲国产视频在线| 日韩国产高清在线| 国内不卡的二区三区中文字幕 | 亚洲欧美日韩中文字幕一区二区三区| 国产精品久久久久久久久久免费看| 中文字幕精品综合| 亚洲欧美乱综合| 婷婷六月综合网| 强制捆绑调教一区二区| 国产一区二区三区免费在线观看| 国产69精品一区二区亚洲孕妇| 99久久久久久99| 欧美丝袜丝nylons| 精品国产精品网麻豆系列| 欧美精彩视频一区二区三区| 亚洲欧美一区二区在线观看| 亚洲高清三级视频| 国产精品一区专区| 在线视频一区二区免费| 日韩一区二区在线看片| 国产偷国产偷精品高清尤物| 有坂深雪av一区二区精品| 美国十次综合导航| 不卡视频在线看| 欧美人与禽zozo性伦| 欧美精品一区二区三区在线播放| 综合精品久久久| 久久精品国产99国产| 95精品视频在线| 日韩一区二区在线播放| 国产精品久久看| 日本特黄久久久高潮| 成人午夜电影小说| 在线电影一区二区三区| 中文字幕一区二区三区蜜月| 日韩福利视频导航| 在线免费观看成人短视频| 久久久不卡影院| 日韩精品一级中文字幕精品视频免费观看| 国产一区999| 欧美日韩国产系列| 中文字幕一区视频| 精品午夜久久福利影院| 欧美色区777第一页| 国产精品午夜久久| 久久er精品视频| 在线观看日韩精品| 中文无字幕一区二区三区| 奇米精品一区二区三区在线观看一| av电影一区二区| 久久伊99综合婷婷久久伊| 日韩电影在线一区| 欧美中文字幕一区二区三区亚洲| 国产嫩草影院久久久久| 韩国一区二区三区| 欧美一区二区三区四区高清| 亚洲国产综合色| 91视频在线观看| 国产精品免费丝袜| 国产黄人亚洲片| 久久综合久久99| 捆绑调教一区二区三区| 欧美性高清videossexo| 日韩美女久久久| 成人激情动漫在线观看| 精品福利一区二区三区免费视频| 石原莉奈一区二区三区在线观看| 日本高清成人免费播放| 亚洲三级在线免费观看| 波多野结衣91| 国产精品成人网| 99在线精品视频| 国产精品高清亚洲| 99久久精品免费精品国产| 日本一区二区免费在线| 成人网在线免费视频| 国产欧美日韩久久| av亚洲精华国产精华| 国产精品久久久久7777按摩| 成人精品免费看| 国产精品久久久久久久第一福利 | 日本不卡的三区四区五区| 欧美三级电影网| 性欧美大战久久久久久久久| 欧美日韩高清影院| 日本伊人色综合网| 日韩欧美激情一区| 国产高清一区日本| 一区在线中文字幕| 在线亚洲人成电影网站色www| 亚洲一区二区偷拍精品| 91麻豆精品国产91久久久更新时间 | 日韩欧美电影一二三| 久久精品噜噜噜成人av农村| 亚洲精品一区二区三区蜜桃下载| 国产一区91精品张津瑜| 国产精品国产三级国产普通话三级 | 国产午夜精品在线观看| 成人性视频免费网站| 亚洲欧美二区三区| 欧美人xxxx| 国产曰批免费观看久久久| 国产精品美女一区二区在线观看| 日本丶国产丶欧美色综合| 天堂av在线一区| 久久老女人爱爱|