2008-03-30 Pavel Roskin <proski@gnu.org>
* commands/i386/cpuid.c (has_longmode): Make static. * disk/i386/pc/biosdisk.c (cd_drive): Likewise. * include/grub/i386/bsd.h (bios_memmap_t): Remove, it's unused.
This commit is contained in:
parent
17c74c21f0
commit
7cdacf9717
4 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
2008-03-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* commands/i386/cpuid.c (has_longmode): Make static.
|
||||
* disk/i386/pc/biosdisk.c (cd_drive): Likewise.
|
||||
* include/grub/i386/bsd.h (bios_memmap_t): Remove, it's unused.
|
||||
|
||||
* kern/i386/pc/startup.S (real_to_prot): Use %cs prefix to load
|
||||
GDT. This is more robust, as %ds can change.
|
||||
(grub_biosdisk_rw_int13_extensions): Don't clear %ds before
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#define bit_LM (1 << 29)
|
||||
|
||||
unsigned char has_longmode = 0;
|
||||
static unsigned char has_longmode = 0;
|
||||
|
||||
static const struct grub_arg_option options[] =
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <grub/err.h>
|
||||
#include <grub/term.h>
|
||||
|
||||
int cd_drive = 0;
|
||||
static int cd_drive = 0;
|
||||
|
||||
static int
|
||||
grub_biosdisk_get_drive (const char *name)
|
||||
|
|
|
@ -149,7 +149,7 @@ struct grub_openbsd_bios_mmap
|
|||
grub_uint64_t addr;
|
||||
grub_uint64_t len;
|
||||
grub_uint32_t type;
|
||||
} bios_memmap_t;
|
||||
};
|
||||
|
||||
struct grub_openbsd_bootargs
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue