OLD | NEW |
1 /* sh-stub.c -- debugging stub for the Renesas-SH. | 1 /* sh-stub.c -- debugging stub for the Renesas-SH. |
2 | 2 |
3 NOTE!! This code has to be compiled with optimization, otherwise the | 3 NOTE!! This code has to be compiled with optimization, otherwise the |
4 function inlining which generates the exception handlers won't work. | 4 function inlining which generates the exception handlers won't work. |
5 | 5 |
6 */ | 6 */ |
7 | 7 |
8 /* This is originally based on an m68k software stub written by Glenn | 8 /* This is originally based on an m68k software stub written by Glenn |
9 Engel at HP, but has changed quite a bit. | 9 Engel at HP, but has changed quite a bit. |
10 | 10 |
(...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 SSR1 &= ~SCI_TDRE; | 1574 SSR1 &= ~SCI_TDRE; |
1575 } | 1575 } |
1576 | 1576 |
1577 void | 1577 void |
1578 handleError (char theSSR) | 1578 handleError (char theSSR) |
1579 { | 1579 { |
1580 SSR1 &= ~(SCI_ORER | SCI_PER | SCI_FER); | 1580 SSR1 &= ~(SCI_ORER | SCI_PER | SCI_FER); |
1581 } | 1581 } |
1582 | 1582 |
1583 #endif | 1583 #endif |
OLD | NEW |