summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/interrupts/isr_stub.s
AgeCommit message (Collapse)Author
2022-07-16amd64: barely boot into kernel codedzwdz
2022-07-15i386/isr: don't use pushal; push registers manuallydzwdz
2022-06-30kernel/linker: rename .text.early to .shareddzwdz
It's not really just a text section, as it's writeable too. Makes gcc shut up about invalid section attributes.
2022-05-29kernel: fix overlapping interrupt / regular stacksdzwdz
2022-05-21kernel/i386: only map what's absolutely necessary in the userdzwdz
2021-10-15slightly clean up all the assembly codedzwdz
2021-07-22disable paging when handling interruptsdzwdz
The kernel code assumes that paging is always disabled. I've also added a bit of comments to the assembly / ruined the git blame.
2021-07-21create ISR stubs, which call a single main isr handlerdzwdz
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.