mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix some bit-rotted constant locations in the precursor target
This commit is contained in:
parent
b8c30c32ac
commit
75fbcd5be8
1 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ pub struct SwapHal {
|
|||
}
|
||||
|
||||
impl SwapHal {
|
||||
pub fn new(cfg: &BootConfig) -> Option<SwapHal> {
|
||||
pub fn new(cfg: &BootConfig, _perclk_freq: u32) -> Option<SwapHal> {
|
||||
if let Some(swap) = cfg.swap {
|
||||
// safety: the swap source header is guaranteed to be aligned and initialized in memory
|
||||
// by the image creator.
|
||||
|
|
@ -220,7 +220,7 @@ pub fn userspace_maps(cfg: &mut BootConfig) {
|
|||
cfg.map_page_32(
|
||||
root,
|
||||
addr,
|
||||
SWAP_HAL_VADDR + PAGE_SIZE * i,
|
||||
xous::arch::SWAP_HAL_VADDR + PAGE_SIZE * i,
|
||||
FLG_R | FLG_W | FLG_U | FLG_VALID,
|
||||
SWAPPER_PID,
|
||||
);
|
||||
|
|
@ -230,7 +230,7 @@ pub fn userspace_maps(cfg: &mut BootConfig) {
|
|||
cfg.map_page_32(
|
||||
root,
|
||||
utra::app_uart::HW_APP_UART_BASE,
|
||||
SWAP_APP_UART_VADDR,
|
||||
xous::arch::SWAP_APP_UART_VADDR,
|
||||
FLG_R | FLG_W | FLG_U | FLG_VALID,
|
||||
SWAPPER_PID,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue