OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [cpu/] [or1k/] [sprs.h] - Diff between revs 30 and 48

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 30 Rev 48
Line 42... Line 42...
 
 
/* System control and status group */
/* System control and status group */
#define SPR_VR          (SPRGROUP_SYS + 0)
#define SPR_VR          (SPRGROUP_SYS + 0)
#define SPR_MPR         (SPRGROUP_SYS + 1)
#define SPR_MPR         (SPRGROUP_SYS + 1)
#define SPR_SR          (SPRGROUP_SYS + 2)
#define SPR_SR          (SPRGROUP_SYS + 2)
 
#define SPR_CCR         (SPRGROUP_SYS + 3)
#define SPR_EPCR_BASE   (SPRGROUP_SYS + 16)
#define SPR_EPCR_BASE   (SPRGROUP_SYS + 16)
#define SPR_EPCR_LAST   (SPRGROUP_SYS + 31)
#define SPR_EPCR_LAST   (SPRGROUP_SYS + 31)
#define SPR_CTR_BASE    (SPRGROUP_SYS + 32)
#define SPR_CTR_BASE    (SPRGROUP_SYS + 32)
#define SPR_CTR_LAST    (SPRGROUP_SYS + 47)
#define SPR_CTR_LAST    (SPRGROUP_SYS + 47)
#define SPR_EEAR_BASE   (SPRGROUP_SYS + 48)
#define SPR_EEAR_BASE   (SPRGROUP_SYS + 48)
Line 112... Line 113...
#define SPR_SR_EIR      0x00000004  /* External Interrupt Recognition */
#define SPR_SR_EIR      0x00000004  /* External Interrupt Recognition */
#define SPR_SR_EXR      0x00000002  /* Exception Recognition */
#define SPR_SR_EXR      0x00000002  /* Exception Recognition */
#define SPR_SR_SUPV     0x00000001  /* Supervisor mode */
#define SPR_SR_SUPV     0x00000001  /* Supervisor mode */
 
 
/*
/*
 
 * Bit definitions for the Condition Code Register
 
 *
 
 */
 
#define SPR_CCR_OVERFL  0x00000004  /* Overflow */
 
#define SPR_CCR_CARRY   0x00000002  /* Carry */
 
#define SPR_CCR_FLAG    0x00000001  /* Compare Flag */
 
 
 
/*
 * Bit definitions for the Data MMU Control Register
 * Bit definitions for the Data MMU Control Register
 *
 *
 */
 */
#define SPR_DMMUCR_P2S  0x0000003e  /* Level 2 Page Size */
#define SPR_DMMUCR_P2S  0x0000003e  /* Level 2 Page Size */
#define SPR_DMMUCR_P1S  0x000007c0  /* Level 1 Page Size */
#define SPR_DMMUCR_P1S  0x000007c0  /* Level 1 Page Size */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.