Skip to content

Commit

Permalink
Update 6multitasking-based-on-as.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw authored Oct 16, 2024
1 parent 93c1a63 commit 7d9a743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/chapter4/6multitasking-based-on-as.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
// os/src/mm/memory_set.rs
pub fn remap_test() {
let mut kernel_space = KERNEL_SPACE.lock();
let mut kernel_space = KERNEL_SPACE.exclusive_access();
let mid_text: VirtAddr = ((stext as usize + etext as usize) / 2).into();
let mid_rodata: VirtAddr = ((srodata as usize + erodata as usize) / 2).into();
let mid_data: VirtAddr = ((sdata as usize + edata as usize) / 2).into();
Expand Down

0 comments on commit 7d9a743

Please sign in to comment.