1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

Some cleanup

This commit is contained in:
Adrien Bourmault 2021-03-03 17:31:31 +01:00
parent e30dc65d7d
commit 675d3a5924
Signed by: neox
GPG Key ID: 6EB408FE0ACEC664
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
//
// Launch interrupt
//
#define interrupt(n) asm volatile ("int %0" : : "N" (n) : "cc", "memory")
#define KeTriggerInterrupt(n) asm volatile ("int %0" : : "N" (n) : "cc", "memory")
//
// Returns whether IRQs are enabled

View File

@ -79,7 +79,7 @@ noreturn void KeStartPanic(const char *fmt, ...)
va_end(ap);
if (KeIdtIsInitialized)
interrupt(0x3);
KeTriggerInterrupt(0x3);
BStdOut->flusher(BStdOut);