From 1e84d1d9332238ff4ae3fbd62e3ca0112f5b62fb Mon Sep 17 00:00:00 2001 From: wyfcyx Date: Sun, 30 Jun 2024 13:38:08 +0000 Subject: [PATCH] deploy: eeb8ac2352a12ec22c0a627d69ab369a63b0f574 --- ch6/src/os/mm/memory_set.rs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch6/src/os/mm/memory_set.rs.html b/ch6/src/os/mm/memory_set.rs.html index 56baed18..5f8e6930 100644 --- a/ch6/src/os/mm/memory_set.rs.html +++ b/ch6/src/os/mm/memory_set.rs.html @@ -487,7 +487,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); }