URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-sh/] [ubc.h] - Rev 1774
Go to most recent revision | Compare with Previous | Blame | View Log
#ifndef __ASM_SH_UBC_H #define __ASM_SH_UBC_H /* User Break Controller */ #if defined(CONFIG_CPU_SUBTYPE_SH7709) #define UBC_TYPE_SH7729 (cpu_data->type == CPU_SH7729) #else #define UBC_TYPE_SH7729 0 #endif #if defined(__sh3__) #define UBC_BARA 0xffffffb0 #define UBC_BAMRA 0xffffffb4 #define UBC_BBRA 0xffffffb8 #define UBC_BASRA 0xffffffe4 #define UBC_BARB 0xffffffa0 #define UBC_BAMRB 0xffffffa4 #define UBC_BBRB 0xffffffa8 #define UBC_BASRB 0xffffffe8 #define UBC_BDRB 0xffffff90 #define UBC_BDMRB 0xffffff94 #define UBC_BRCR 0xffffff98 #elif defined(__SH4__) #define UBC_BARA 0xff200000 #define UBC_BAMRA 0xff200004 #define UBC_BBRA 0xff200008 #define UBC_BASRA 0xff000014 #define UBC_BARB 0xff20000c #define UBC_BAMRB 0xff200010 #define UBC_BBRB 0xff200014 #define UBC_BASRB 0xff000018 #define UBC_BDRB 0xff200018 #define UBC_BDMRB 0xff20001c #define UBC_BRCR 0xff200020 #endif #define BAMR_ASID (1 << 2) #define BAMR_NONE 0 #define BAMR_10 0x1 #define BAMR_12 0x2 #define BAMR_ALL 0x3 #define BAMR_16 0x8 #define BAMR_20 0x9 #define BBR_INST (1 << 4) #define BBR_DATA (2 << 4) #define BBR_READ (1 << 2) #define BBR_WRITE (2 << 2) #define BBR_BYTE 0x1 #define BBR_HALF 0x2 #define BBR_LONG 0x3 #define BBR_QUAD (1 << 6) /* SH7750 */ #define BBR_CPU (1 << 6) /* SH7709A,SH7729 */ #define BBR_DMA (2 << 6) /* SH7709A,SH7729 */ #define BRCR_CMFA (1 << 15) #define BRCR_CMFB (1 << 14) #define BRCR_PCTE (1 << 11) #define BRCR_PCBA (1 << 10) /* 1: after execution */ #define BRCR_DBEB (1 << 7) #define BRCR_PCBB (1 << 6) #define BRCR_SEQ (1 << 3) #define BRCR_UBDE (1 << 0) #ifndef __ASSEMBLY__ /* arch/sh/kernel/ubc.S */ extern void ubc_wakeup(void); extern void ubc_sleep(void); #endif #endif /* __ASM_SH_UBC_H */
Go to most recent revision | Compare with Previous | Blame | View Log