ptos/amd64: cpu: Use smaller interrupt stack for NMIs
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user