Open Kfeavel opened 2 years ago
As much as I would like to use this, unfortunately there's no way to differentiate interrupts from one another using this method, unless we want to do something similar to what we're already doing in assembly where we have a separate function for each interrupt/exception.
That might be worth doing, but it wouldn't really gain us anything (other than removing more assembly).
https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html