X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/4b61c735d6ab7cb250c9a170b87784746476434f..0eabc11fcf240415e39f3873dfce7cd9384b3042:/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..23df5b5 100644 --- a/lunaix-os/kernel/asm/x86/interrupt.S +++ b/lunaix-os/kernel/asm/x86/interrupt.S @@ -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: