We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b52a912 + 12482b9 commit 158f627Copy full SHA for 158f627
1 file changed
awkernel_lib/src/arch/rv64/vm.rs
@@ -260,6 +260,19 @@ impl MemorySet {
260
None,
261
);
262
263
+ unsafe {
264
+ unsafe_puts("Mapping physical memory...\r\n");
265
+ }
266
+ memory_set.push(
267
+ MapArea::new(
268
+ VirtAddr::from_usize(ekernel as *const () as usize),
269
+ VirtAddr::from_usize(super::address::MEMORY_END as usize),
270
+ MapType::Identical,
271
+ MapPermission::R | MapPermission::W,
272
+ ),
273
+ None,
274
+ );
275
+
276
// Note: Heap mapping is created separately in calculate_dynamic_heap_size()
277
memory_set
278
}
0 commit comments