SSBM Decomp
|
#include <platform.h>
Go to the source code of this file.
Typedefs | |
typedef u8 | DSSupportMask[32] |
#define DSFetch_s8 | ( | _p_ | ) | (*((s8*) _p_)) |
#define DSFetch_s16 | ( | _p_ | ) | (*((s16*) _p_)) |
#define DSFetch_s32 | ( | _p_ | ) | (*((s32*) _p_)) |
#define DSFetch_s64 | ( | _p_ | ) | (*((s64*) _p_)) |
#define DSFetch_u8 | ( | _p_ | ) | (*((u8*) _p_)) |
#define DSFetch_u16 | ( | _p_ | ) | (*((u16*) _p_)) |
#define DSFetch_u32 | ( | _p_ | ) | (*((u32*) _p_)) |
#define DSFetch_u64 | ( | _p_ | ) | (*((u64*) _p_)) |
#define DS_PROTOCOL_MAJOR_VERSION_1 1 |
#define DS_PROTOCOL_MINOR_VERSION_10 10 |
#define DS_PROTOCOL_MAJOR_VERSION DS_PROTOCOL_MAJOR_VERSION_1 |
#define DS_PROTOCOL_MINOR_VERSION DS_PROTOCOL_MINOR_VERSION_10 |
#define DS_KERNEL_MAJOR_VERSION 0 |
#define DS_KERNEL_MINOR_VERSION 4 |
#define DS_MIN_MSG_LENGTH 1 |
#define DS_MIN_REPLY_LENGTH 2 |
#define DS_MIN_MSG_VERSIONS_LENGTH DS_MIN_MSG_LENGTH |
#define DS_MIN_REPLY_VERSIONS_LENGTH (DS_MIN_REPLY_LENGTH + 4) |
#define DS_CPU_MAJOR_PPC 0x00 |
#define DS_CPU_MAJOR_MIPS 0x01 |
#define DS_CPU_MAJOR_NEC_V8XX 0x02 |
#define DS_CPU_MAJOR_MOT_DSP 0x03 |
#define DS_CPU_MAJOR_ARM 0x04 |
#define DS_CPU_MAJOR_X86 0x05 |
#define DS_CPU_MAJOR_MCORE 0x06 |
#define DS_CPU_MAJOR_M68K 0x07 /* includes ColdFire */ |
#define DS_CPU_MAJOR_SUPERH 0x08 |
#define DS_CPU_MIPS_R3000 0x00 |
#define DS_CPU_MIPS_R3081E 0x01 |
#define DS_CPU_MIPS_VR4100 0x20 |
#define DS_CPU_MIPS_VR4300 0x21 |
#define DS_CPU_MIPS_VR4500 0x22 |
#define DS_CPU_MIPS_VR4111 0x23 |
#define DS_CPU_MIPS_TR4101 0x24 |
#define DS_CPU_MIPS_VR5000 0x40 |
#define DS_CPU_PPC_403 0x00 |
#define DS_CPU_PPC_5XX 0x20 /* used when not precisely known */ |
#define DS_CPU_PPC_505 0x21 |
#define DS_CPU_PPC_509 0x22 |
#define DS_CPU_PPC_50X 0x27 /* used when not precisely known */ |
#define DS_CPU_PPC_555 0x28 |
#define DS_CPU_PPC_603E 0x40 |
#define DS_CPU_PPC_7XX 0x50 /* used when not precisely known */ |
#define DS_CPU_PPC_740 0x51 |
#define DS_CPU_PPC_750 0x52 |
#define DS_CPU_PPC_7400 0x53 |
#define DS_CPU_PPC_7410 0x54 |
#define DS_CPU_PPC_8260 0x61 |
#define DS_CPU_PPC_8XX 0x80 /* used when not precisely known */ |
#define DS_CPU_PPC_821 0x81 |
#define DS_CPU_PPC_823 0x82 |
#define DS_CPU_PPC_860 0x83 |
#define DS_CPU_NEC_V8XX_V810 0x00 |
#define DS_CPU_NEC_V8XX_V821 0x01 |
#define DS_CPU_NEC_V8XX_V830 0x10 |
#define DS_CPU_NEC_V8XX_V831 0x11 |
#define DS_CPU_NEC_V8XX_V832 0x12 |
#define DS_CPU_NEC_V8XX_V850 0x20 |
#define DS_CPU_NEC_V8XX_V853 0x21 |
#define DS_CPU_NEC_V8XX_V850E 0x22 |
#define DS_CPU_NEC_V8XX_V850_SA1 0x23 |
#define DS_CPU_M68K_68000 0x00 |
#define DS_CPU_M68K_68020 0x02 |
#define DS_CPU_M68K_68030 0x04 |
#define DS_CPU_M68K_68040 0x06 |
#define DS_CPU_M68K_68060 0x08 |
#define DS_CPU_M68K_68302 0x20 |
#define DS_CPU_M68K_68306 0x22 |
#define DS_CPU_M68K_68307 0x24 |
#define DS_CPU_M68K_68328 0x26 |
#define DS_CPU_M68K_68EZ328 0x28 |
#define DS_CPU_M68K_68VZ328 0x29 |
#define DS_CPU_M68K_68340 0x2A |
#define DS_CPU_M68K_68360 0x2C |
#define DS_CPU_M68K_CF5102 0x80 |
#define DS_CPU_M68K_CF5202 0x82 |
#define DS_CPU_M68K_CF5204 0x84 |
#define DS_CPU_M68K_CF5206 0x86 |
#define DS_CPU_M68K_CF5206E 0x88 |
#define DS_CPU_M68K_CF5307 0x8A |
#define DS_CPU_MCORE_200 0x00 |
#define DS_CPU_MCORE_340 0x20 |
#define DS_MIN_MSG_SUPPORTMASK_LENGTH DS_MIN_MSG_LENGTH |
#define DS_MIN_REPLY_SUPPORTMASK_LENGTH (DS_MIN_REPLY_LENGTH + sizeof(DSSupportMask) + 1) |
#define DS_MIN_MSG_READMEMORY_LENGTH (DS_MIN_MSG_LENGTH + 15) |
#define DS_MIN_REPLY_READMEMORY_LENGTH (DS_MIN_REPLY_LENGTH + 2) |
#define DS_MIN_MSG_WRITEMEMORY_LENGTH (DS_MIN_MSG_LENGTH + 15) |
#define DS_MIN_REPLY_WRITEMEMORY_LENGTH (DS_MIN_REPLY_LENGTH + 2) |
#define DS_MSG_MEMORY_SEGMENTED 0x01 /* non-flat addr space */ |
#define DS_MSG_MEMORY_EXTENDED 0x02 /* > 32-bit data addr */ |
#define DS_MSG_MEMORY_PROTECTED 0x04 /* non-user memory */ |
#define DS_MSG_MEMORY_USERVIEW 0x08 /* breakpoints are invisible */ |
#define DS_MSG_MEMORY_SPACE_PROGRAM 0x00 |
#define DS_MSG_MEMORY_SPACE_DATA 0x40 |
#define DS_MSG_MEMORY_SPACE_IO 0x80 |
#define TRK_MSG_HEADER_LENGTH DS_MSG_MEMORY_SPACE_DATA |
#define TRK_MSG_REPLY_HEADER_LENGTH (TRK_MSG_HEADER_LENGTH + DS_MIN_MSG_LENGTH) |
#define DS_MSG_MEMORY_SPACE_MASK 0xC0 |
#define DS_MAXREADWRITELENGTH 0x0800 /* 2K data portion */ |
#define DS_MAXMESSAGESIZE (DS_MAXREADWRITELENGTH + 0x80) |
#define MAXMESSAGESIZE DS_MAXMESSAGESIZE |
#define DS_MIN_MSG_FLUSHCACHE_LENGTH (DS_MIN_MSG_LENGTH + 9) |
#define DS_MIN_REPLY_FLUSHCACHE_LENGTH (DS_MIN_REPLY_LENGTH) |
#define DS_MIN_MSG_READREGISTERS_LENGTH (DS_MIN_MSG_LENGTH + 13) |
#define DS_MIN_REPLY_READREGISTERS_LENGTH DS_MIN_REPLY_LENGTH |
#define DS_MIN_MSG_WRITEREGISTERS_LENGTH (DS_MIN_MSG_LENGTH + 13) |
#define DS_MIN_REPLY_WRITEREGISTERS_LENGTH DS_MIN_REPLY_LENGTH |
#define DS_MIN_MSG_STEP_COUNT_LENGTH (DS_MIN_MSG_LENGTH + 10) |
#define DS_MIN_MSG_STEP_RANGE_LENGTH (DS_MIN_MSG_LENGTH + 17) |
#define DS_MIN_MSG_STEP_LENGTH (DS_MIN_MSG_STEP_COUNT_LENGTH) |
#define DS_MIN_REPLY_STEP_LENGTH DS_MIN_REPLY_LENGTH |
typedef u8 DSSupportMask[32] |
enum MessageCommandID |
enum DSMessageStepOptions |
enum DSFileHandle |
enum DSIOResult |
enum DSReplyError |