Increase double fault stack size in Double Faults post

Code update in 817e36c064.
This commit is contained in:
Philipp Oppermann
2020-08-16 17:59:50 +02:00
parent e80864b64d
commit 0425bd3c81

View File

@@ -250,7 +250,7 @@ lazy_static! {
static ref TSS: TaskStateSegment = {
let mut tss = TaskStateSegment::new();
tss.interrupt_stack_table[DOUBLE_FAULT_IST_INDEX as usize] = {
const STACK_SIZE: usize = 4096;
const STACK_SIZE: usize = 4096 * 5;
static mut STACK: [u8; STACK_SIZE] = [0; STACK_SIZE];
let stack_start = VirtAddr::from_ptr(unsafe { &STACK });