mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
kernel: riscv: add exception const to mem
The address of the exception page is now available for use as a standard variable. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
5bd9e40ace
commit
ce66a6bde2
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ pub const DEFAULT_MESSAGE_BASE: usize = 0x4000_0000;
|
||||||
pub const DEFAULT_BASE: usize = 0x6000_0000;
|
pub const DEFAULT_BASE: usize = 0x6000_0000;
|
||||||
|
|
||||||
pub const USER_AREA_END: usize = 0xff00_0000;
|
pub const USER_AREA_END: usize = 0xff00_0000;
|
||||||
|
pub const EXCEPTION_STACK_TOP: usize = 0xffff_0000;
|
||||||
pub const PAGE_SIZE: usize = 4096;
|
pub const PAGE_SIZE: usize = 4096;
|
||||||
const PAGE_TABLE_OFFSET: usize = 0xff40_0000;
|
const PAGE_TABLE_OFFSET: usize = 0xff40_0000;
|
||||||
const PAGE_TABLE_ROOT_OFFSET: usize = 0xff80_0000;
|
const PAGE_TABLE_ROOT_OFFSET: usize = 0xff80_0000;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue