summaryrefslogtreecommitdiff
path: root/src/pnpbios.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-01-17 02:30:21 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-01-17 02:30:21 -0500
commit9e91c7bf4201f9b7022459170839b32ba82a7c49 (patch)
tree76fc1bb957ec01b27c8b02642cf1e103c4f5bd5c /src/pnpbios.c
parentb1b7c2a1c3b940b787fdb5da67fc37003e9d7b0e (diff)
downloadqemu-seabios-9e91c7bf4201f9b7022459170839b32ba82a7c49.tar.gz
Misc fixes.
The pnp bios string can't be const and VAR16_32. Show ps2 port status when discarding data.
Diffstat (limited to 'src/pnpbios.c')
-rw-r--r--src/pnpbios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pnpbios.c b/src/pnpbios.c
index 6daa025..4c512b6 100644
--- a/src/pnpbios.c
+++ b/src/pnpbios.c
@@ -25,7 +25,7 @@ struct pnpheader {
} PACKED;
extern struct pnpheader PNPHEADER;
-extern const char pnp_string[];
+extern char pnp_string[];
#if CONFIG_PNPBIOS
struct pnpheader PNPHEADER __aligned(16) VAR16_32 = {
@@ -41,7 +41,7 @@ struct pnpheader PNPHEADER __aligned(16) VAR16_32 = {
// We need a copy of this string in the 0xf000 segment, but we are not
// actually a PnP BIOS, so make sure it is *not* aligned, so OSes will
// not see it if they scan.
-const char pnp_string[] __aligned(2) VAR16_32 = " $PnP";
+char pnp_string[] __aligned(2) VAR16_32 = " $PnP";
#endif
#define FUNCTION_NOT_SUPPORTED 0x82