Fix aarch64 kfx size

This commit is contained in:
Jeremy Soller
2022-08-25 18:40:19 -06:00
parent 82ac7a66f7
commit 80b8382cd7

View File

@@ -18,8 +18,8 @@ use crate::syscall::FloatRegisters;
/// This must be done, as no locks can be held on the stack during switch
pub static CONTEXT_SWITCH_LOCK: AtomicBool = AtomicBool::new(false);
//TODO: find out ideal size
pub const KFX_SIZE: usize = 512;
// 512 bytes for registers, extra bytes for fpcr and fpsr
pub const KFX_SIZE: usize = 1024;
pub const KFX_ALIGN: usize = 16;
#[derive(Clone, Debug)]