Page 1 of 1

Simple mistake in Detecting Memory (x86) wiki article?

Posted: Mon Feb 03, 2025 1:33 pm
by sandras
In the https://wiki.osdev.org/Detecting_Memory_(x86) wiki article, regarding BIOS Function: INT 0x15, EAX = 0xE820, it says:
The format of an entry is 2 uint64_t's and a uint32_t in the 20 byte version, plus one additional uint32_t in the 24 byte ACPI 3.0 version. It is probably best to always store the list entries as 24 byte quantities -- to preserve uint64_t alignments, if nothing else. (Make sure to set that last uint64_t to 1 before each call, to make your map compatible with ACPI).
Doesn't it mean to "Make sure to set that last uint32_t to 1 before each call, to make your map compatible with ACPI"?

If so, I guess I'll try to become a wiki editor and fix it.

Re: Simple mistake in Detecting Memory (x86) wiki article?

Posted: Mon Feb 03, 2025 4:42 pm
by Octocontrabass
Yep, you found a typo.

Re: Simple mistake in Detecting Memory (x86) wiki article?

Posted: Mon Feb 03, 2025 4:52 pm
by sandras
OK, done.