141 |
int num_entries = 0; |
int num_entries = 0; |
142 |
int last_length = 0; |
int last_length = 0; |
143 |
|
|
144 |
|
auto void disk_read_blocklist_func (int sector, int offset, int length); |
145 |
|
|
146 |
/* Collect contiguous blocks into one entry as many as possible, |
/* Collect contiguous blocks into one entry as many as possible, |
147 |
and print the blocklist notation on the screen. */ |
and print the blocklist notation on the screen. */ |
148 |
static void disk_read_blocklist_func (int sector, int offset, int length) |
auto void disk_read_blocklist_func (int sector, int offset, int length) |
149 |
{ |
{ |
150 |
if (num_sectors > 0) |
if (num_sectors > 0) |
151 |
{ |
{ |
591 |
"white" |
"white" |
592 |
}; |
}; |
593 |
|
|
594 |
|
auto int color_number (char *str); |
595 |
|
|
596 |
/* Convert the color name STR into the magical number. */ |
/* Convert the color name STR into the magical number. */ |
597 |
static int color_number (char *str) |
auto int color_number (char *str) |
598 |
{ |
{ |
599 |
char *ptr; |
char *ptr; |
600 |
int i; |
int i; |
1778 |
char *stage2_os_file = 0; |
char *stage2_os_file = 0; |
1779 |
#endif /* GRUB_UTIL */ |
#endif /* GRUB_UTIL */ |
1780 |
|
|
1781 |
|
auto void disk_read_savesect_func (int sector, int offset, int length); |
1782 |
|
auto void disk_read_blocklist_func (int sector, int offset, int length); |
1783 |
|
|
1784 |
/* Save the first sector of Stage2 in STAGE2_SECT. */ |
/* Save the first sector of Stage2 in STAGE2_SECT. */ |
1785 |
static void disk_read_savesect_func (int sector, int offset, int length) |
auto void disk_read_savesect_func (int sector, int offset, int length) |
1786 |
{ |
{ |
1787 |
if (debug) |
if (debug) |
1788 |
printf ("[%d]", sector); |
printf ("[%d]", sector); |
1798 |
|
|
1799 |
/* Write SECTOR to INSTALLLIST, and update INSTALLADDR and |
/* Write SECTOR to INSTALLLIST, and update INSTALLADDR and |
1800 |
INSTALLSECT. */ |
INSTALLSECT. */ |
1801 |
static void disk_read_blocklist_func (int sector, int offset, int length) |
auto void disk_read_blocklist_func (int sector, int offset, int length) |
1802 |
{ |
{ |
1803 |
if (debug) |
if (debug) |
1804 |
printf("[%d]", sector); |
printf("[%d]", sector); |
3617 |
int to_code, from_code; |
int to_code, from_code; |
3618 |
int map_in_interrupt = 0; |
int map_in_interrupt = 0; |
3619 |
|
|
3620 |
static int find_key_code (char *key) |
auto int find_key_code (char *key); |
3621 |
|
auto int find_ascii_code (char *key); |
3622 |
|
|
3623 |
|
auto int find_key_code (char *key) |
3624 |
{ |
{ |
3625 |
int i; |
int i; |
3626 |
|
|
3637 |
return 0; |
return 0; |
3638 |
} |
} |
3639 |
|
|
3640 |
static int find_ascii_code (char *key) |
auto int find_ascii_code (char *key) |
3641 |
{ |
{ |
3642 |
int i; |
int i; |
3643 |
|
|