aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/ide.c2
-rw-r--r--hw/mips_malta.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/ide.c b/hw/ide.c
index e61cefb696..136233c2bc 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -2608,7 +2608,7 @@ static uint32_t ide_ioport_read(void *opaque, uint32_t addr1)
if (!ide_if[0].bs && !ide_if[1].bs)
ret = 0;
else
- ret = s->select;
+ ret = s->select; // | 0xa0;
break;
default:
case 7:
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index e7504c1bf5..18acb6c69f 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -866,7 +866,8 @@ void mips_malta_init (ram_addr_t ram_size, int vga_ram_size,
}
/* In little endian mode the 32bit words in the bios are swapped,
a neat trick which allows bi-endian firmware. */
-#ifndef TARGET_WORDS_BIGENDIAN
+#if 0
+// #ifndef TARGET_WORDS_BIGENDIAN
{
uint32_t *addr = qemu_get_ram_ptr(bios_offset);;
uint32_t *end = addr + bios_size;