From e44cecbb3fc64eb01b4b582e1f48b92152958ca6 Mon Sep 17 00:00:00 2001 From: wyfcyx Date: Sun, 30 Jun 2024 13:37:59 +0000 Subject: [PATCH] deploy: 12416cc8ce4b459d4895e29764edfc3e68cb7538 --- ch7/src/os/mm/memory_set.rs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch7/src/os/mm/memory_set.rs.html b/ch7/src/os/mm/memory_set.rs.html index d42b87d2..c05c826c 100644 --- a/ch7/src/os/mm/memory_set.rs.html +++ b/ch7/src/os/mm/memory_set.rs.html @@ -466,7 +466,7 @@ fn push(&mut self, mut map_area: MapArea, data: Option<&[u8]>) { map_area.map(&mut self.page_table); if let Some(data) = data { - map_area.copy_data(&mut self.page_table, data); + map_area.copy_data(&self.page_table, data); } self.areas.push(map_area); }