interrupt: set proper intstatus on isr return

This commit is contained in:
Matheus
2023-04-28 22:27:56 -03:00
parent 5d33fe828f
commit 1bcf8dfcf3
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -81,4 +81,7 @@ void arch_context_saveandcall(void (*fn)(context_t *context));
wrmsr(MSR_KERNELGSBASE, (t)->extracontext.gsbase); \
wrmsr(MSR_FSBASE, (t)->extracontext.fsbase);
#define ARCH_CONTEXT_INTSTATUS(x) \
(x)->rflags & 0x200 ? true : false;
#endif