As written, if the if the UNDI ISR call clobbers the upper halves of any of the GPRs (which by convention it is permitted to do, and by paranoia should be expected to do) then nothing in the interrupt handler will recover the state. Additionally, save/restore %fs and %gs out of sheer paranoia - it's a cheap enough operation, and may prevent problems due to poorly written UNDI stacks.tags/v0.9.3
|
|
||
21 |
|
21 |
|
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
25 |
|
27 |
|
26 |
|
28 |
|
27 |
|
29 |
|
|
|
||
32 |
|
34 |
|
33 |
|
35 |
|
34 |
|
36 |
|
35 |
|
|
|
36 |
|
|
|
|
37 |
|
|
37 |
|
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
|
|
||
62 |
|
63 |
|
63 |
|
64 |
|
64 |
|
65 |
|
65 |
|
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
66 |
|
69 |
|
67 |
|
70 |
|
68 |
|
71 |
|