2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>

From Hitoshi Ozeki:
    * kern/i386/pc/init.c (compact_mem_regions): Decrease NUM_REGIONS
    when merging two regions.
This commit is contained in:
okuji 2007-09-03 20:33:20 +00:00
parent 508e39ee41
commit 5618afbf59
3 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
From Hitoshi Ozeki:
* kern/i386/pc/init.c (compact_mem_regions): Decrease NUM_REGIONS
when merging two regions.
2007-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
* kern/rescue.c (grub_enter_rescue_mode): Free ARGS. * kern/rescue.c (grub_enter_rescue_mode): Free ARGS.

1
THANKS
View file

@ -10,6 +10,7 @@ Andrey Shuvikov <mr_hyro@yahoo.com>
Bibo Mao <bibo.mao@intel.com> Bibo Mao <bibo.mao@intel.com>
Guillem Jover <guillem@hadrons.org> Guillem Jover <guillem@hadrons.org>
Harley D. Eades III <hde@foobar-qux.org> Harley D. Eades III <hde@foobar-qux.org>
Hitoshi Ozeki <h-ozeki@ck2.so-net.ne.jp>
Hollis Blanchard <hollis@penguinppc.org> Hollis Blanchard <hollis@penguinppc.org>
Jeroen Dekkers <jeroen@dekkers.cx> Jeroen Dekkers <jeroen@dekkers.cx>
Johan Rydberg <jrydberg@gnu.org> Johan Rydberg <jrydberg@gnu.org>

View file

@ -120,6 +120,7 @@ compact_mem_regions (void)
grub_memmove (mem_regions + j, mem_regions + j + 1, grub_memmove (mem_regions + j, mem_regions + j + 1,
(num_regions - j - 1) * sizeof (struct mem_region)); (num_regions - j - 1) * sizeof (struct mem_region));
i--; i--;
num_regions--;
} }
} }