Kumar Gala | ec2b74f | 2008-01-17 16:48:33 -0600 | [diff] [blame] | 1 | #ifndef __MPC85XX_MP_H_ |
| 2 | #define __MPC85XX_MP_H_ |
| 3 | |
| 4 | ulong get_spin_addr(void); |
| 5 | void setup_mp(void); |
| 6 | u32 get_my_id(void); |
Kumar Gala | dd6c910 | 2008-03-26 08:53:53 -0500 | [diff] [blame] | 7 | void cpu_mp_lmb_reserve(struct lmb *lmb); |
Kumar Gala | ec2b74f | 2008-01-17 16:48:33 -0600 | [diff] [blame] | 8 | |
Kumar Gala | 79679d8 | 2008-03-26 08:34:25 -0500 | [diff] [blame] | 9 | #define BOOT_ENTRY_ADDR_UPPER 0 |
| 10 | #define BOOT_ENTRY_ADDR_LOWER 1 |
| 11 | #define BOOT_ENTRY_R3_UPPER 2 |
| 12 | #define BOOT_ENTRY_R3_LOWER 3 |
| 13 | #define BOOT_ENTRY_RESV 4 |
| 14 | #define BOOT_ENTRY_PIR 5 |
| 15 | #define BOOT_ENTRY_R6_UPPER 6 |
| 16 | #define BOOT_ENTRY_R6_LOWER 7 |
| 17 | #define NUM_BOOT_ENTRY 8 |
| 18 | #define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32)) |
| 19 | |
Kumar Gala | ec2b74f | 2008-01-17 16:48:33 -0600 | [diff] [blame] | 20 | #endif |