]> xenbits.xensource.com Git - xenclient/ioemu.git/commitdiff
- Make the vgabios writable.
authorJean Guyader <jean.guyader@eu.citrix.com>
Thu, 9 Oct 2008 17:13:02 +0000 (18:13 +0100)
committerVincent Hanquez <vincent@snarc.org>
Fri, 31 Oct 2008 12:10:55 +0000 (12:10 +0000)
hw/xen_platform.c

index 937b802c6d2cfa6da821e3d28040fefe842a0ead..ebbad3171582dca68afcecfbc9084f589d6dcaab 100644 (file)
@@ -61,7 +61,7 @@ static void xen_platform_ioport_writeb(void *opaque, uint32_t addr, uint32_t val
     case 0: /* Platform flags */ {
         hvmmem_type_t mem_type = (val & PFFLAG_ROM_LOCK) ?
             HVMMEM_ram_ro : HVMMEM_ram_rw;
-        if (xc_hvm_set_mem_type(xc_handle, domid, mem_type, 0xc0, 0x40))
+        if (xc_hvm_set_mem_type(xc_handle, domid, mem_type, 0xd0, 0x20))
             fprintf(logfile,"xen_platform: unable to change ro/rw "
                     "state of ROM memory area!\n");
         else