2001-12-30 Yoshinori K. Okuji <okuji@gnu.org>

* stage2/bios.c (get_diskinfo): Clear out the structure DRP
	before calling get_diskinfo_int13_extensions, because the Ralf
	Brown's Interrupt List says that Dell machines using PhoenixBIOS
	4.0 Release 6.0 fail, if DRP.FLAGS is not zero. Setting the
	entire structure to zero may be overkill, but it should be safe.

	* stage2/char_io.c [STAGE1_5] (grub_memset): Defined.
This commit is contained in:
okuji committed 2001-12-30 07:33:23 +00:00
1 parent 79ae0cd9e8
commit 4cd09c4b6a
3 files changed
+14 -1

No files matched your search

+1 -1
View File
@@ -1450,7 +1450,6 @@ grub_memmove (void *to, const void *from, int len)
return errnum ? NULL : to;
}
#ifndef STAGE1_5
void *
grub_memset (void *start, int c, int len)
{
@@ -1465,6 +1464,7 @@ grub_memset (void *start, int c, int len)
return errnum ? NULL : start;
}
#ifndef STAGE1_5
char *
grub_strcpy (char *dest, const char *src)
{