From c8688719eefa2825c69e0cf26d0fbe546c557193 Mon Sep 17 00:00:00 2001 From: Yoshito Komatsu Date: Tue, 26 Jul 2022 22:50:58 +0900 Subject: [PATCH 1/2] Fix Japanese translation of "Double Faults" --- blog/content/edition-2/posts/06-double-faults/index.ja.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-2/posts/06-double-faults/index.ja.md b/blog/content/edition-2/posts/06-double-faults/index.ja.md index fbce089c..bef1360f 100644 --- a/blog/content/edition-2/posts/06-double-faults/index.ja.md +++ b/blog/content/edition-2/posts/06-double-faults/index.ja.md @@ -142,7 +142,7 @@ CPUはダブルフォルトハンドラを呼べるようになったので、 [AMD64 manual]: https://www.amd.com/system/files/TechDocs/24593.pdf -例えばページフォルトに続いてゼロ除算例外が起きた場合は問題ありません(ページフォルトハンドラが呼び出される)が、一般保護違反に続いてゼロ除算例外が起きた場合はダブルフォルトが発生します。 +例えばゼロ除算例外に続いてページフォルトが起きた場合は問題ありません(ページフォルトハンドラが呼び出される)が、ゼロ除算例外に続いて一般保護違反が起きた場合はダブルフォルトが発生します。 この表を見れば、先程の質問のうち最初の3つに答えることができます: From 6060898753f40b61c7a6ed3abf8ed4025176aad2 Mon Sep 17 00:00:00 2001 From: Yoshito Komatsu Date: Tue, 26 Jul 2022 22:54:12 +0900 Subject: [PATCH 2/2] Fix the typo --- blog/content/edition-2/posts/06-double-faults/index.ja.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-2/posts/06-double-faults/index.ja.md b/blog/content/edition-2/posts/06-double-faults/index.ja.md index bef1360f..dc048eba 100644 --- a/blog/content/edition-2/posts/06-double-faults/index.ja.md +++ b/blog/content/edition-2/posts/06-double-faults/index.ja.md @@ -382,7 +382,7 @@ pub fn init() { [`set_cs`]: https://docs.rs/x86_64/0.14.2/x86_64/instructions/segmentation/fn.set_cs.html [`load_tss`]: https://docs.rs/x86_64/0.14.2/x86_64/instructions/tables/fn.load_tss.html -これで正常なTSSと割り込みスタックテーブルを読み込みこんだので、私達はIDT内のダブルフォルトハンドラにスタックインデックスをセットすることができます: +これで正常なTSSと割り込みスタックテーブルを読み込んだので、私達はIDT内のダブルフォルトハンドラにスタックインデックスをセットすることができます: ```rust // in src/interrupts.rs