summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/sysenter.h
diff options
context:
space:
mode:
authordzwdz2021-07-21 18:02:53 +0200
committerdzwdz2021-07-21 18:02:53 +0200
commit04b4c029420b010a906d0af3fb7b52108471c4bd (patch)
tree48154dfd8de19f140c242fc1c21b89f780730adb /src/kernel/arch/i386/sysenter.h
parent1b9c86d59753e2ecaf9529386483aebbe25ba265 (diff)
create ISR stubs, which call a single main isr handler
quick explaination of how this even works: The `call` in each stub pushes its own address onto the stack before calling stage2. We can substract the address of the 0th ISR to get the offset, which we then divide by the size of each stub to get the index.
Diffstat (limited to 'src/kernel/arch/i386/sysenter.h')
0 files changed, 0 insertions, 0 deletions