32x: sh2 stat code, disabled by default

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@834 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-11-18 12:21:36 +00:00
parent f0d7b1faa1
commit 71f68165b6
4 changed files with 290 additions and 202 deletions

View file

@ -1,6 +1,13 @@
#ifndef __SH2_H__
#define __SH2_H__
// registers - matches structure order
typedef enum {
SHR_R0 = 0, SHR_SP = 15,
SHR_PC, SHR_PPC, SHR_PR, SHR_SR,
SHR_GBR, SHR_VBR, SHR_MACH, SHR_MACL,
} sh2_reg_e;
typedef struct
{
unsigned int r[16]; // 00