diff options
| author | Tianhao Wang <shrik3@mailbox.org> | 2024-06-05 07:58:47 +0200 |
|---|---|---|
| committer | Tianhao Wang <shrik3@mailbox.org> | 2024-06-11 15:17:13 +0200 |
| commit | 2c4366a804ae6c389614ff8da9b0225ffb6ce14a (patch) | |
| tree | fa2fd438ba16b6dfcbde2c0b728656f31bec30f6 /src/machine/keyctrl.rs | |
| parent | d6815a5903716c058c4f8bee89bfa745ee752c9d (diff) | |
interrupt: better trampolines for interrupts
1. define trampolines for both exceptions with error code (automatically
pushed to stack) and those without.
2. do not repeat vectors for unused IRQ numbers: we need 48, no need to
fill in 256.
3. also pass the pointer to trap frame (on the stack) to the handler
code
Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
Diffstat (limited to 'src/machine/keyctrl.rs')
0 files changed, 0 insertions, 0 deletions
