Move kernel to the beginning of physical memory to save space

Signed-off-by: Harry Chen <i@harrychen.xyz>
master
Harry Chen 6 years ago
parent a744131663
commit ff0fa24897

@ -4,7 +4,7 @@
OUTPUT_ARCH(riscv)
ENTRY(_start)
BASE_ADDRESS = 0x80100000;
BASE_ADDRESS = 0x80000000;
SECTIONS
{

@ -2,7 +2,7 @@
///
pub use super::board::consts::*;
pub const KERNEL_OFFSET: usize = 0x80100000;
pub const KERNEL_OFFSET: usize = 0x80000000;
pub const MEMORY_OFFSET: usize = 0x8000_0000;

Loading…
Cancel
Save