diff --git a/src/main.rs b/src/main.rs index 198e7a6b79978da1c06a1f29728282c361f9bd81..e10b9d52fb0573e00fb12f1e2d8650789c4e9e61 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,11 +42,11 @@ const KIBI: usize = 1024; const MIBI: usize = KIBI * KIBI; //TODO: allocate this in a more reasonable manner -pub static mut AREAS: [OsMemoryEntry; 512] = [OsMemoryEntry { +pub static mut AREAS: [OsMemoryEntry; 1024] = [OsMemoryEntry { base: 0, size: 0, kind: OsMemoryKind::Null, -}; 512]; +}; 1024]; pub static mut KERNEL_64BIT: bool = false;