ptos/amd64: cpu: Use smaller interrupt stack for NMIs

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
2026-07-14 22:11:47 +00:00
parent 66f0d0f469
commit a33ae9b426
+1 -2
View File
@@ -7,7 +7,6 @@
*/
#include <hal/kpcr.h>
#include <hal/page.h>
#include <ke/bugcheck.h>
#include <machine/idt.h>
#include <machine/trap.h>
@@ -91,7 +90,7 @@ HalKpcrP2Init(KPCR *Kpcr)
);
/* Setup interrupt stacks */
MdTssAllocIst(IST_NMI, PAGESIZE);
MdTssAllocIst(IST_NMI, 1024);
/* Initialize the scheduler queue */
SCHED_QUEUE_INIT(&Kpcr->SchedQueue);