|
@@ -35,22 +35,22 @@
|
|
li r3,vector_offset@l; \
|
|
li r3,vector_offset@l; \
|
|
mtspr SPRN_GIVOR##vector_number,r3;
|
|
mtspr SPRN_GIVOR##vector_number,r3;
|
|
|
|
|
|
- SET_IVOR(0, 0x020) /* Critical Input */
|
|
|
|
- SET_IVOR(1, 0x000) /* Machine Check */
|
|
|
|
- SET_IVOR(2, 0x060) /* Data Storage */
|
|
|
|
- SET_IVOR(3, 0x080) /* Instruction Storage */
|
|
|
|
- SET_IVOR(4, 0x0a0) /* External Input */
|
|
|
|
- SET_IVOR(5, 0x0c0) /* Alignment */
|
|
|
|
- SET_IVOR(6, 0x0e0) /* Program */
|
|
|
|
- SET_IVOR(7, 0x100) /* FP Unavailable */
|
|
|
|
- SET_IVOR(8, 0x120) /* System Call */
|
|
|
|
- SET_IVOR(9, 0x140) /* Auxiliary Processor Unavailable */
|
|
|
|
- SET_IVOR(10, 0x160) /* Decrementer */
|
|
|
|
- SET_IVOR(11, 0x180) /* Fixed Interval Timer */
|
|
|
|
- SET_IVOR(12, 0x1a0) /* Watchdog Timer */
|
|
|
|
- SET_IVOR(13, 0x1c0) /* Data TLB Error */
|
|
|
|
- SET_IVOR(14, 0x1e0) /* Instruction TLB Error */
|
|
|
|
- SET_IVOR(15, 0x040) /* Debug */
|
|
|
|
|
|
+ SET_IVOR(0, 0x020) /* Critical Input */
|
|
|
|
+ SET_IVOR(1, 0x000) /* Machine Check */
|
|
|
|
+ SET_IVOR(2, 0x060) /* Data Storage */
|
|
|
|
+ SET_IVOR(3, 0x080) /* Instruction Storage */
|
|
|
|
+ SET_IVOR(4, 0x0a0) /* External Input */
|
|
|
|
+ SET_IVOR(5, 0x0c0) /* Alignment */
|
|
|
|
+ SET_IVOR(6, 0x0e0) /* Program */
|
|
|
|
+ SET_IVOR(7, 0x100) /* FP Unavailable */
|
|
|
|
+ SET_IVOR(8, 0x120) /* System Call */
|
|
|
|
+ SET_IVOR(9, 0x140) /* Auxiliary Processor Unavailable */
|
|
|
|
+ SET_IVOR(10, 0x160) /* Decrementer */
|
|
|
|
+ SET_IVOR(11, 0x180) /* Fixed Interval Timer */
|
|
|
|
+ SET_IVOR(12, 0x1a0) /* Watchdog Timer */
|
|
|
|
+ SET_IVOR(13, 0x1c0) /* Data TLB Error */
|
|
|
|
+ SET_IVOR(14, 0x1e0) /* Instruction TLB Error */
|
|
|
|
+ SET_IVOR(15, 0x040) /* Debug */
|
|
|
|
|
|
/* e500v1 & e500v2 only */
|
|
/* e500v1 & e500v2 only */
|
|
#ifndef CONFIG_E500MC
|
|
#ifndef CONFIG_E500MC
|
|
@@ -59,21 +59,21 @@
|
|
SET_IVOR(34, 0x240) /* Embedded FP Round */
|
|
SET_IVOR(34, 0x240) /* Embedded FP Round */
|
|
#endif
|
|
#endif
|
|
|
|
|
|
- SET_IVOR(35, 0x260) /* Performance monitor */
|
|
|
|
|
|
+ SET_IVOR(35, 0x260) /* Performance monitor */
|
|
|
|
|
|
/* e500mc only */
|
|
/* e500mc only */
|
|
#ifdef CONFIG_E500MC
|
|
#ifdef CONFIG_E500MC
|
|
- SET_IVOR(36, 0x280) /* Processor doorbell */
|
|
|
|
- SET_IVOR(37, 0x2a0) /* Processor doorbell critical */
|
|
|
|
- SET_IVOR(38, 0x2c0) /* Guest Processor doorbell */
|
|
|
|
- SET_IVOR(39, 0x2e0) /* Guest Processor critical & machine check */
|
|
|
|
- SET_IVOR(40, 0x300) /* Hypervisor system call */
|
|
|
|
- SET_IVOR(41, 0x320) /* Hypervisor Priviledge */
|
|
|
|
|
|
+ SET_IVOR(36, 0x280) /* Processor doorbell */
|
|
|
|
+ SET_IVOR(37, 0x2a0) /* Processor doorbell critical */
|
|
|
|
+ SET_IVOR(38, 0x2c0) /* Guest Processor doorbell */
|
|
|
|
+ SET_IVOR(39, 0x2e0) /* Guest Processor critical & machine check */
|
|
|
|
+ SET_IVOR(40, 0x300) /* Hypervisor system call */
|
|
|
|
+ SET_IVOR(41, 0x320) /* Hypervisor Priviledge */
|
|
|
|
|
|
- SET_GIVOR(2, 0x060) /* Guest Data Storage */
|
|
|
|
- SET_GIVOR(3, 0x080) /* Guest Instruction Storage */
|
|
|
|
- SET_GIVOR(4, 0x0a0) /* Guest External Input */
|
|
|
|
- SET_GIVOR(8, 0x120) /* Guest System Call */
|
|
|
|
- SET_GIVOR(13, 0x1c0) /* Guest Data TLB Error */
|
|
|
|
- SET_GIVOR(14, 0x1e0) /* Guest Instruction TLB Error */
|
|
|
|
|
|
+ SET_GIVOR(2, 0x060) /* Guest Data Storage */
|
|
|
|
+ SET_GIVOR(3, 0x080) /* Guest Instruction Storage */
|
|
|
|
+ SET_GIVOR(4, 0x0a0) /* Guest External Input */
|
|
|
|
+ SET_GIVOR(8, 0x120) /* Guest System Call */
|
|
|
|
+ SET_GIVOR(13, 0x1c0) /* Guest Data TLB Error */
|
|
|
|
+ SET_GIVOR(14, 0x1e0) /* Guest Instruction TLB Error */
|
|
#endif
|
|
#endif
|