From c85e40b9ab70971b2776b20a1c4e862409870ff3 Mon Sep 17 00:00:00 2001 From: "Shu W. Nakamura" <30687489+woodyZootopia@users.noreply.github.com> Date: Wed, 12 May 2021 15:00:42 +0900 Subject: [PATCH] Update blog/content/edition-2/posts/08-paging-introduction/index.ja.md --- blog/content/edition-2/posts/08-paging-introduction/index.ja.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-2/posts/08-paging-introduction/index.ja.md b/blog/content/edition-2/posts/08-paging-introduction/index.ja.md index 759a10d3..8ea0a2b0 100644 --- a/blog/content/edition-2/posts/08-paging-introduction/index.ja.md +++ b/blog/content/edition-2/posts/08-paging-introduction/index.ja.md @@ -358,7 +358,7 @@ unsafe { *ptr = 42; } 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行をコメントアウトすると、読み込みアクセスだけになるので実行は成功しますが、そうしなかった場合ページフォルトが発生します: ![QEMU with output: "read worked, EXCEPTION: Page Fault, Accessed Address: VirtAddr(0x2031b2), Error Code: PROTECTION_VIOLATION | CAUSED_BY_WRITE, InterruptStackFrame: {…}"](qemu-page-fault-protection.png)