mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Update blog/content/edition-2/posts/08-paging-introduction/index.ja.md
This commit is contained in:
@@ -358,7 +358,7 @@ unsafe { *ptr = 42; }
|
|||||||
println!("write worked");
|
println!("write worked");
|
||||||
```
|
```
|
||||||
|
|
||||||
By commenting out the last line, we see that the read access works, but the write access causes a page fault:
|
最後の2行をコメントアウトすると、読み込みアクセスだけになるので実行は成功しますが、そうしなかった場合ページフォルトが発生します:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user