diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-06-10 01:33:34 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-06-10 01:33:34 +0200 |
commit | 670ad9fd106bdb02ba2045198fcaf89960d3ec40 (patch) | |
tree | 7fd212e2c70656aa2cd2cd7b0ad79154030ce558 /i386 | |
parent | 49d0e47087bd60a2ceae246258d803197d105d31 (diff) |
Add missing 4KiB memory
* i386/i386at/model_dep.c (init_alloc_aligned): Let allocated area last
until end of memory map.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/model_dep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 9c53243..d97f085 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -756,7 +756,7 @@ init_alloc_aligned(vm_size_t size, vm_offset_t *addrp) unsigned long long start = map->BaseAddr; unsigned long long end = start + map->Length;; - if (start <= addr && avail_next < end) + if (start <= addr && avail_next <= end) { /* Ok, fits in the current map */ current = map; |