mirror of https://github.com/xqemu/xqemu.git
Move nographic export to sysemu.h
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5414 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3b3fb32229
commit
2bfdab638a
|
@ -259,7 +259,6 @@ void *fw_cfg_init(uint32_t ctl_port, uint32_t data_port,
|
||||||
{
|
{
|
||||||
FWCfgState *s;
|
FWCfgState *s;
|
||||||
int io_ctl_memory, io_data_memory;
|
int io_ctl_memory, io_data_memory;
|
||||||
extern int nographic;
|
|
||||||
|
|
||||||
s = qemu_mallocz(sizeof(FWCfgState));
|
s = qemu_mallocz(sizeof(FWCfgState));
|
||||||
if (!s)
|
if (!s)
|
||||||
|
|
|
@ -175,8 +175,6 @@ static int nvram_boot_set(void *opaque, const char *boot_device)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int nographic;
|
|
||||||
|
|
||||||
static void nvram_init(m48t59_t *nvram, uint8_t *macaddr, const char *cmdline,
|
static void nvram_init(m48t59_t *nvram, uint8_t *macaddr, const char *cmdline,
|
||||||
const char *boot_devices, ram_addr_t RAM_size,
|
const char *boot_devices, ram_addr_t RAM_size,
|
||||||
uint32_t kernel_size,
|
uint32_t kernel_size,
|
||||||
|
|
|
@ -108,8 +108,6 @@ static int nvram_boot_set(void *opaque, const char *boot_device)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int nographic;
|
|
||||||
|
|
||||||
static int sun4u_NVRAM_set_params (m48t59_t *nvram, uint16_t NVRAM_size,
|
static int sun4u_NVRAM_set_params (m48t59_t *nvram, uint16_t NVRAM_size,
|
||||||
const char *arch,
|
const char *arch,
|
||||||
ram_addr_t RAM_size,
|
ram_addr_t RAM_size,
|
||||||
|
|
1
sysemu.h
1
sysemu.h
|
@ -78,6 +78,7 @@ extern int vmsvga_enabled;
|
||||||
extern int graphic_width;
|
extern int graphic_width;
|
||||||
extern int graphic_height;
|
extern int graphic_height;
|
||||||
extern int graphic_depth;
|
extern int graphic_depth;
|
||||||
|
extern int nographic;
|
||||||
extern const char *keyboard_layout;
|
extern const char *keyboard_layout;
|
||||||
extern int win2k_install_hack;
|
extern int win2k_install_hack;
|
||||||
extern int alt_grab;
|
extern int alt_grab;
|
||||||
|
|
Loading…
Reference in New Issue