Rev 1094 | Rev 1212 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1094 | Rev 1121 | ||
|---|---|---|---|
| Line 178... | Line 178... | ||
| 178 | /* |
178 | /* |
| 179 | * Choose between version with error code and version without error code. |
179 | * Choose between version with error code and version without error code. |
| 180 | * Both versions have to be of the same size. amd64 assembly is, however, |
180 | * Both versions have to be of the same size. amd64 assembly is, however, |
| 181 | * a little bit tricky. For instance, subq $0x80, %rsp and subq $0x78, %rsp |
181 | * a little bit tricky. For instance, subq $0x80, %rsp and subq $0x78, %rsp |
| 182 | * can result in two instructions with different op-code lengths. |
182 | * can result in two instructions with different op-code lengths. |
| 183 | * Therefore, pay special attention to the extra NOP's that serve as |
183 | * Therefore we align the interrupt handlers. |
| 184 | * a necessary fill. |
- | |
| 185 | */ |
184 | */ |
| 186 | 185 | ||
| 187 | .iflt \i-32 |
186 | .iflt \i-32 |
| 188 | .if (1 << \i) & ERROR_WORD_INTERRUPT_LIST |
187 | .if (1 << \i) & ERROR_WORD_INTERRUPT_LIST |
| 189 | /* |
188 | /* |