Репозитории ALT
S: | 2.06-alt16 |
D: | 0.97-alt2 |
5.1: | 0.97-alt5 |
4.1: | 0.97-alt4.M41.1 |
3.0: | 0.95-alt1 |
Группа :: Система/Ядро и оборудование
Пакет: grub
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: grub-0.92-suse-graphics2.patch
Скачать
Скачать
--- stage2/stage2.c Tue Aug 27 11:25:10 2002
+++ stage2/stage2.c Tue Aug 27 12:14:35 2002
@@ -925,6 +925,7 @@
unsigned char *buf;
unsigned buf_size, code_start;
char *s, *t, *cfg, *new_config;
+ char *saved_heap;
int i, j, max_len;
int selected_entry;
gfx_data_t *gfx_data;
@@ -1020,6 +1021,10 @@
}
+ /* go back here when we no longer need the graphics data */
+ saved_heap = heap;
+
+
/* get memory area to be used by graphics functions */
buf = (unsigned char *) (((unsigned) heap + 0xf) & ~0xf);
@@ -1133,6 +1138,8 @@
gfx_done(gfx_data);
+ heap = saved_heap; /* free most of the graphics data */
+
// printf("cmdline: >%s<, entry = %d\n", gfx_data->cmdline, selected_entry);
if(selected_entry < 0 || selected_entry > num_entries) return;