mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cleanup a warning when debug is not turned on
This commit is contained in:
parent
63c7600eb5
commit
57cea9b3ca
1 changed files with 3 additions and 3 deletions
|
|
@ -178,16 +178,16 @@ fn boot_sequence(args: KernelArguments, _signature: u32) -> ! {
|
||||||
let rpt_offset =
|
let rpt_offset =
|
||||||
cfg.runtime_page_tracker.as_ptr() as usize - krn_struct_start + KERNEL_ARGUMENT_OFFSET;
|
cfg.runtime_page_tracker.as_ptr() as usize - krn_struct_start + KERNEL_ARGUMENT_OFFSET;
|
||||||
#[cfg(not(feature = "atsama5d27"))]
|
#[cfg(not(feature = "atsama5d27"))]
|
||||||
let tt_addr = {
|
let _tt_addr = {
|
||||||
cfg.processes[0].satp
|
cfg.processes[0].satp
|
||||||
};
|
};
|
||||||
#[cfg(feature = "atsama5d27")]
|
#[cfg(feature = "atsama5d27")]
|
||||||
let tt_addr = {
|
let _tt_addr = {
|
||||||
cfg.processes[0].ttbr0
|
cfg.processes[0].ttbr0
|
||||||
};
|
};
|
||||||
println!(
|
println!(
|
||||||
"Jumping to kernel @ {:08x} with map @ {:08x} and stack @ {:08x} (kargs: {:08x}, ip: {:08x}, rpt: {:08x})",
|
"Jumping to kernel @ {:08x} with map @ {:08x} and stack @ {:08x} (kargs: {:08x}, ip: {:08x}, rpt: {:08x})",
|
||||||
cfg.processes[0].entrypoint, tt_addr, cfg.processes[0].sp,
|
cfg.processes[0].entrypoint, _tt_addr, cfg.processes[0].sp,
|
||||||
arg_offset, ip_offset, rpt_offset,
|
arg_offset, ip_offset, rpt_offset,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue