diff options
Diffstat (limited to 'firmware/export/pp5020.h')
-rw-r--r-- | firmware/export/pp5020.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index 3d205a0ea1..a34f1251c9 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h | |||
@@ -30,6 +30,15 @@ | |||
30 | #define PROC_ID_CPU 0x55 | 30 | #define PROC_ID_CPU 0x55 |
31 | #define PROC_ID_COP 0xaa | 31 | #define PROC_ID_COP 0xaa |
32 | 32 | ||
33 | /* Mailboxes */ | ||
34 | /* Each processor has two mailboxes it can write to and two which | ||
35 | it can read from. We define the first to be for sending messages | ||
36 | and the second for replying to messages */ | ||
37 | #define CPU_MESSAGE (*(volatile unsigned long *)(0x60001000)) | ||
38 | #define COP_MESSAGE (*(volatile unsigned long *)(0x60001004)) | ||
39 | #define CPU_REPLY (*(volatile unsigned long *)(0x60001008)) | ||
40 | #define COP_REPLY (*(volatile unsigned long *)(0x6000100c)) | ||
41 | |||
33 | /* Interrupts */ | 42 | /* Interrupts */ |
34 | #define CPU_INT_STAT (*(volatile unsigned long*)(0x64004000)) | 43 | #define CPU_INT_STAT (*(volatile unsigned long*)(0x64004000)) |
35 | #define COP_INT_STAT (*(volatile unsigned long*)(0x60004004)) | 44 | #define COP_INT_STAT (*(volatile unsigned long*)(0x60004004)) |