mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
b171712e0e
* match libultra ique pt 1 * add sgidefs.h to include/gcc * recvmesg match + _getcount * add elfpatch.py for those compiled with -mips3 * pt 2 * os/setthreadpri(.data) -> os/thread * os thread matches * os timer matches * pt 4 (erm... 3?) * vitbl * os pi matches * pt. uhmmmm, i've lost track... * os pfs matches * replace elfpatch.py * pt. just forget it... * outsource from ultralib ique branch * . * . 2 * final blow * add egcs compiler to Jenkinsfile * fix errors from CI * minor changes as requested
116 lines
1.3 KiB
C
116 lines
1.3 KiB
C
#ifndef _BCP_H_
|
|
#define _BCP_H_
|
|
#ifdef BBPLAYER
|
|
|
|
#include "rcp.h"
|
|
|
|
/**
|
|
* MIPS Interface (MI) Additional Registers
|
|
*/
|
|
|
|
//! MI_SK_EXCEPTION_REG ?
|
|
#define MI_14_REG (MI_BASE_REG + 0x14)
|
|
|
|
|
|
|
|
//! ?
|
|
#define MI_30_REG (MI_BASE_REG + 0x30)
|
|
|
|
|
|
|
|
//! ?
|
|
#define MI_38_REG (MI_BASE_REG + 0x38)
|
|
|
|
|
|
|
|
//! MI_HW_INTR_MASK_REG ?
|
|
#define MI_3C_REG (MI_BASE_REG + 0x3C)
|
|
|
|
|
|
|
|
/**
|
|
* Peripheral Interface (PI) Additional Registers
|
|
*/
|
|
|
|
//! PI_ATB_UPPER_REG ?
|
|
#define PI_40_REG (PI_BASE_REG + 0x40)
|
|
|
|
|
|
|
|
//! ?
|
|
#define PI_44_REG (PI_BASE_REG + 0x44)
|
|
|
|
|
|
|
|
//! PI_CARD_CNT_REG ?
|
|
#define PI_48_REG (PI_BASE_REG + 0x48)
|
|
|
|
|
|
|
|
//! ?
|
|
#define PI_4C_REG (PI_BASE_REG + 0x4C)
|
|
|
|
|
|
|
|
//! PI_AES_CNT_REG ?
|
|
#define PI_50_REG (PI_BASE_REG + 0x50)
|
|
|
|
|
|
|
|
//! PI_ALLOWED_IO_REG ?
|
|
#define PI_54_REG (PI_BASE_REG + 0x54)
|
|
|
|
|
|
|
|
//! ?
|
|
#define PI_58_REG (PI_BASE_REG + 0x58)
|
|
|
|
|
|
|
|
//! ?
|
|
#define PI_5C_REG (PI_BASE_REG + 0x5C)
|
|
|
|
|
|
|
|
//! PI_MISC_REG ?
|
|
#define PI_60_REG (PI_BASE_REG + 0x60)
|
|
|
|
|
|
|
|
//! ?
|
|
#define PI_64_REG (PI_BASE_REG + 0x64)
|
|
|
|
|
|
|
|
//! PI_CARD_BLK_OFFSET_REG ?
|
|
#define PI_70_REG (PI_BASE_REG + 0x70)
|
|
|
|
|
|
|
|
//! PI_EX_DMA_BUF ?
|
|
#define PI_10000_REG(i) (PI_BASE_REG + 0x10000 + (i))
|
|
|
|
|
|
|
|
//! PI_ATB_LOWER_REG ?
|
|
#define PI_10500_REG(i) (PI_BASE_REG + 0x10500 + (i) * 4)
|
|
|
|
|
|
|
|
/**
|
|
* Serial Interface (SI) Additional Registers
|
|
*/
|
|
|
|
//! ?
|
|
#define SI_0C_REG (SI_BASE_REG + 0x0C)
|
|
|
|
|
|
|
|
//! ?
|
|
#define SI_1C_REG (SI_BASE_REG + 0x1C)
|
|
|
|
|
|
|
|
#endif
|
|
#endif
|