summaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-30 00:52:44 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-30 01:59:37 +0100
commit5cea8590eaa099be8087f363f80d0e6917382385 (patch)
tree485aa34f5047dd2835642d88957d8236adf45b3c /sysemu.h
parentabc0754527e30acf278765f66d2157b6c75dc549 (diff)
downloadqemu-5cea8590eaa099be8087f363f80d0e6917382385.tar.gz
Use relative path for bios
Look for bios and other support files relative to qemu binary, rather than a hardcoded prefix. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysemu.h b/sysemu.h
index 92501edcef..658aeec0b0 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -10,7 +10,10 @@
/* vl.c */
extern const char *bios_name;
-extern const char *bios_dir;
+
+#define QEMU_FILE_TYPE_BIOS 0
+#define QEMU_FILE_TYPE_KEYMAP 1
+char *qemu_find_file(int type, const char *name);
extern int vm_running;
extern const char *qemu_name;