From f9f53089239bd5eced0b72c541569713699757d5 Mon Sep 17 00:00:00 2001 From: Miha Zidar Date: Sun, 29 Apr 2018 12:54:24 +0200 Subject: [PATCH] Fix allocater typo --- Booting/linux-bootstrap-6.md | 2 +- contributors.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Booting/linux-bootstrap-6.md b/Booting/linux-bootstrap-6.md index 40a4756..28521b9 100644 --- a/Booting/linux-bootstrap-6.md +++ b/Booting/linux-bootstrap-6.md @@ -299,7 +299,7 @@ for (; addr < end; addr = next) { } ``` -First of all here we find next entry of the `Page Global Directory` for the given address and if it is greater than `end` of the given memory region, we set it to `end`. After this we allocater a new page with our `x86_mapping_info` callback that we already considered above and call the `ident_p4d_init` function. The `ident_p4d_init` function will do the same, but for low-level page directories (`p4d` -> `pud` -> `pmd`). +First of all here we find next entry of the `Page Global Directory` for the given address and if it is greater than `end` of the given memory region, we set it to `end`. After this we allocate a new page with our `x86_mapping_info` callback that we already considered above and call the `ident_p4d_init` function. The `ident_p4d_init` function will do the same, but for low-level page directories (`p4d` -> `pud` -> `pmd`). That's all. diff --git a/contributors.md b/contributors.md index d3fb869..abf888e 100644 --- a/contributors.md +++ b/contributors.md @@ -118,3 +118,4 @@ Thank you to all contributors: * [kuritonasu](https://github.com/kuritonasu/) * [Miles Frain](https://github.com/milesfrain) * [Horace Heaven](https://github.com/horaceheaven) +* [Miha Zidar](https://github.com/zidarsk8)