Simple mistake in Detecting Memory (x86) wiki article?
All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Simple mistake in Detecting Memory (x86) wiki article?
In the https://wiki.osdev.org/Detecting_Memory_(x86) wiki article, regarding BIOS Function: INT 0x15, EAX = 0xE820, it says:
If so, I guess I'll try to become a wiki editor and fix it.
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"?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).
If so, I guess I'll try to become a wiki editor and fix it.
- Octocontrabass
- Member
Member - Posts: 6014
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Simple mistake in Detecting Memory (x86) wiki article?
Post by Octocontrabass »
Yep, you found a typo.