aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-01-04 20:49:45 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-01-04 20:49:45 -0500
commit48cf2320b79cbbf50f6e6196e1853613b50b462c (patch)
tree95c1ffaedb120e633601e677978cd1b840bfe021
parent643062f9bc208911e3f27265c697dbde151d4f56 (diff)
downloadseabios-48cf2320b79cbbf50f6e6196e1853613b50b462c.tar.gz
Add comment explaining why mptable is in low memory.
-rw-r--r--src/mptable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mptable.c b/src/mptable.c
index eba7d974..f65bbebd 100644
--- a/src/mptable.c
+++ b/src/mptable.c
@@ -179,7 +179,9 @@ mptable_init(void)
config->length = length;
config->checksum -= checksum(config, length);
- // Allocate final memory locations
+ // Allocate final memory locations. (In theory the config
+ // structure can go in high memory, but Linux kernels before
+ // v2.6.30 crash with that.)
struct mptable_config_s *finalconfig = malloc_fseg(length);
struct mptable_floating_s *floating = malloc_fseg(sizeof(*floating));
if (!finalconfig || !floating) {