Re: [PATCH gnumach] Fix interrupt handling

2023-10-03 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 02 oct. 2023 03:39:13 +, a ecrit: > Logic for interrupts: > > - interrupt.S raises spl (thus IF cleared) > - interrupt.S EOI > - interrupt.S calls the handler >- for pure in-kernel handlers, they do whatever they want with IF > cleared. >-

[PATCH gnumach] Fix interrupt handling

2023-10-01 Thread Damien Zammit
Logic for interrupts: - interrupt.S raises spl (thus IF cleared) - interrupt.S EOI - interrupt.S calls the handler - for pure in-kernel handlers, they do whatever they want with IF cleared. - when a userland handler is registers, queue_intr masks the irq. - interrupt.S lowers spl with s