cex-sb1.S (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | cex-sb1.S (a4b5bd9abcf5b0586de68722ff8e9b91020279bf) |
---|---|
1/* 2 * Copyright (C) 2001,2002,2003 Broadcom Corporation 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * --- 50 unchanged lines hidden (view full) --- 59 * mapped while ERL=1). Note that we can't save to a 60 * CPU-specific location without ruining a register in the 61 * process. This means we are vulnerable to data corruption 62 * whenever the handler is reentered by a second CPU. 63 */ 64 sd k0,0x170($0) 65 sd k1,0x178($0) 66 | 1/* 2 * Copyright (C) 2001,2002,2003 Broadcom Corporation 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * --- 50 unchanged lines hidden (view full) --- 59 * mapped while ERL=1). Note that we can't save to a 60 * CPU-specific location without ruining a register in the 61 * process. This means we are vulnerable to data corruption 62 * whenever the handler is reentered by a second CPU. 63 */ 64 sd k0,0x170($0) 65 sd k1,0x178($0) 66 |
67#if CONFIG_SB1_CEX_ALWAYS_FATAL 68 j handle_vec2_sb1 69 nop 70#else |
|
67 /* 68 * M_ERRCTL_RECOVERABLE is bit 31, which makes it easy to tell 69 * if we can fast-path out of here for a h/w-recovered error. 70 */ 71 mfc0 k1,C0_ERRCTL 72 bgtz k1,attempt_recovery 73 sll k0,k1,1 74 --- 54 unchanged lines hidden (view full) --- 129 ld k0,0x170($0) 130 ld k1,0x178($0) 131 eret 132 133unrecoverable: 134 /* Unrecoverable Icache or Dcache error; log it and/or fail */ 135 j handle_vec2_sb1 136 nop | 71 /* 72 * M_ERRCTL_RECOVERABLE is bit 31, which makes it easy to tell 73 * if we can fast-path out of here for a h/w-recovered error. 74 */ 75 mfc0 k1,C0_ERRCTL 76 bgtz k1,attempt_recovery 77 sll k0,k1,1 78 --- 54 unchanged lines hidden (view full) --- 133 ld k0,0x170($0) 134 ld k1,0x178($0) 135 eret 136 137unrecoverable: 138 /* Unrecoverable Icache or Dcache error; log it and/or fail */ 139 j handle_vec2_sb1 140 nop |
141#endif |
|
137 138END(except_vec2_sb1) 139 140 __FINIT 141 142 LEAF(handle_vec2_sb1) 143 mfc0 k0,CP0_CONFIG 144 li k1,~CONF_CM_CMASK --- 26 unchanged lines hidden --- | 142 143END(except_vec2_sb1) 144 145 __FINIT 146 147 LEAF(handle_vec2_sb1) 148 mfc0 k0,CP0_CONFIG 149 li k1,~CONF_CM_CMASK --- 26 unchanged lines hidden --- |