From: Kevin O'Connor Date: Tue, 5 Jan 2010 01:49:45 +0000 (-0500) Subject: Add comment explaining why mptable is in low memory. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=48cf2320b79cbbf50f6e6196e1853613b50b462c;p=seabios.git Add comment explaining why mptable is in low memory. --- diff --git a/src/mptable.c b/src/mptable.c index eba7d97..f65bbeb 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) {