mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-26 09:53:28 +04:00
Move kernel to the beginning of physical memory to save space
Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
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…
Reference in New Issue
Block a user