From ed8e97d806e02544db6cb03aeac692aeb3dabb40 Mon Sep 17 00:00:00 2001 From: wyfcyx Date: Sun, 30 Jun 2024 13:38:25 +0000 Subject: [PATCH] deploy: f3917fd8aa0e7dfa00a80c8b79e232cec9e9e6b5 --- ch4/src/os/mm/memory_set.rs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch4/src/os/mm/memory_set.rs.html b/ch4/src/os/mm/memory_set.rs.html index fb7c5e88..8b1d841e 100644 --- a/ch4/src/os/mm/memory_set.rs.html +++ b/ch4/src/os/mm/memory_set.rs.html @@ -468,7 +468,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); }