how are ISRs invoked in this OS project?
Posted: Thu Mar 21, 2024 3:53 am
Hello,
I follow along a tutorial on writing an operating system. Currently I do not understand how the interrupt routines are called. By that I mean the- functions are mapped in the file but I do not see any place in the - where they are called as a response to an interrupt. Neither is the interrupt number pushed into the -variable in the code.
Does an interrupt automatically issue an IRQ to the CPU? but how is the interrupt number then fetched from the PIC-buffer and placed in the variable? how is the ISR then called when it is nowhere done in this code?
This is the video series on the tutorial https://www.youtube.com/watch?v=SQBBetL ... tingSystem
This is the source code after a bit of recfarctoring https://github.com/AlgorithMan-de/wyoos ... 8fbddfb687
Thank you for taking the time to answer!
I follow along a tutorial on writing an operating system. Currently I do not understand how the interrupt routines are called. By that I mean the
Code: Select all
HandleInterruptRequest 0x??
Code: Select all
interrupstubs.s
Code: Select all
kernel.cpp
Code: Select all
kernelMain()
Code: Select all
(interruptnumber)
Code: Select all
interrupstubs.s
Does an interrupt automatically issue an IRQ to the CPU? but how is the interrupt number then fetched from the PIC-buffer and placed in the
Code: Select all
(interruptnumber)
This is the video series on the tutorial https://www.youtube.com/watch?v=SQBBetL ... tingSystem
This is the source code after a bit of recfarctoring https://github.com/AlgorithMan-de/wyoos ... 8fbddfb687
Thank you for taking the time to answer!