diff options
author | neal <neal> | 2007-12-21 08:25:41 +0000 |
---|---|---|
committer | neal <neal> | 2007-12-21 08:25:41 +0000 |
commit | f62b7954cf04886e242019da27d9cbf381d7efbf (patch) | |
tree | 7a0a8571445b01645f299f9ddcbf3ece445d6bb2 /laden | |
parent | 6c0ce51313b60e279f887d2b3885f773d5e8fdb5 (diff) |
2007-12-21 Neal H. Walfield <neal@gnu.org>
* ia32-cmain.c (KMEM_MAX): Set to the last valid byte, not the
first invalid byte.
Diffstat (limited to 'laden')
-rw-r--r-- | laden/ChangeLog | 5 | ||||
-rw-r--r-- | laden/ia32-cmain.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/laden/ChangeLog b/laden/ChangeLog index 689bec0..7fd1cdb 100644 --- a/laden/ChangeLog +++ b/laden/ChangeLog @@ -1,3 +1,8 @@ +2007-12-21 Neal H. Walfield <neal@gnu.org> + + * ia32-cmain.c (KMEM_MAX): Set to the last valid byte, not the + first invalid byte. + 2007-11-16 Neal H. Walfield <neal@gnu.org> * laden.h (program_name): Change type to a const char []. diff --git a/laden/ia32-cmain.c b/laden/ia32-cmain.c index fc40668..f657e41 100644 --- a/laden/ia32-cmain.c +++ b/laden/ia32-cmain.c @@ -383,7 +383,7 @@ find_components (void) #define KMEM_SIZE (16 * 0x100000) /* The upper limit for the end of the kernel memory. */ -#define KMEM_MAX (240 * 0x100000) +#define KMEM_MAX (240 * 0x100000 - 1) if (CHECK_FLAG (mbi->flags, 6)) { |