Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
kernel
Commits
77f6887f
Verified
Commit
77f6887f
authored
May 07, 2021
by
Jeremy Soller
Browse files
Debug use of memory map and env data
parent
38f7884e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/arch/aarch64/start.rs
View file @
77f6887f
...
...
@@ -90,10 +90,13 @@ pub unsafe extern fn kstart(args_ptr: *const KernelArgs) -> ! {
info!
(
"Env: {:X}:{:X}"
,
env_base
,
env_base
+
env_size
);
info!
(
"DTB: {:X}:{:X}"
,
dtb_base
,
dtb_base
+
dtb_size
);
//TODO: Until fixed, the DTB is at DEVMAP_OFFSET + dtb_base
// This is not required after paging is enabled because paging fixes this
println!
(
"FILL MEMORY MAP START"
);
device_tree
::
fill_memory_map
(
crate
::
KERNEL_DEVMAP_OFFSET
+
dtb_base
,
dtb_size
);
println!
(
"FILL MEMORY MAP COMPLETE"
);
println!
(
"FILL ENV DATA START"
);
let
env_size
=
device_tree
::
fill_env_data
(
crate
::
KERNEL_DEVMAP_OFFSET
+
dtb_base
,
dtb_size
,
env_base
);
println!
(
"FILL ENV DATA COMPLETE"
);
// Initialize RMM
println!
(
"RMM INIT START"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment