X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/4b61c735d6ab7cb250c9a170b87784746476434f..986ce23ace2f7875a1a561bd947f435a7594146c:/lunaix-os/kernel/asm/x86/interrupt.S diff --git a/lunaix-os/kernel/asm/x86/interrupt.S b/lunaix-os/kernel/asm/x86/interrupt.S index c869db0..a6c0496 100644 --- a/lunaix-os/kernel/asm/x86/interrupt.S +++ b/lunaix-os/kernel/asm/x86/interrupt.S @@ -1,6 +1,6 @@ #define __ASM__ #include -#include +#include #include #define __ASM_INTR_DIAGNOSIS @@ -19,6 +19,16 @@ .skip 128 tmp_stack: +/* + This perhaps the ugliest part in the project. + It contains code to handle arbitrary depth of + nested interrupt and all those corner cases and + nasty gotchas. + + Be aware the twists, offsets and hidden dependencies! + +*/ + .section .text .global interrupt_wrapper interrupt_wrapper: