Skip to contentSkip to conversation

compiler error in CONFIG_S3VGA

Qemu-devel Bernhard Fischer 2 participants 3 messages Apr 17, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

qemu/hw/vga.c: typo: s/uinr32_t/uint32_t/

Thank you,

hw/vga.c +1 -1
diff -X excl -rduNp qemu.oorig/hw/vga.c qemu/hw/vga.c
@@ -956,7 +956,7 @@ static void vga_get_offsets(VGAState *s,
         line_offset = s->cr[0x13];
 #ifdef CONFIG_S3VGA
         {
-            uinr32_t v;
+            uint32_t v;
             v = (s->cr[0x51] >> 4) & 3; /* S3 extension */
             if (v == 0)
                 v = (s->cr[0x43] >> 2) & 1; /* S3 extension */
#1 lore raw

In fact the real fix is to delete the S3VGA stuff - it has never worked and I have no plan to support it. Moveover, a correct implementation would be made in another driver as the cirrus_vga driver.

Fabrice.

Quoted 30 lines · Bernhard Fischer

Hi,

qemu/hw/vga.c: typo: s/uinr32_t/uint32_t/

Thank you,

------------------------------------------------------------------------

diff -X excl -rduNp qemu.oorig/hw/vga.c qemu/hw/vga.c

hw/vga.c +1 -2
@@ -956,7 +956,7 @@ static void vga_get_offsets(VGAState *s,
         line_offset = s->cr[0x13];
 #ifdef CONFIG_S3VGA
         {
-            uinr32_t v;
+            uint32_t v;
             v = (s->cr[0x51] >> 4) & 3; /* S3 extension */
             if (v == 0)
                 v = (s->cr[0x43] >> 2) & 1; /* S3 extension */
 
 
 
------------------------------------------------------------------------

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#2 lore raw
Quoted 3 lines · Fabrice Bellard

In fact the real fix is to delete the S3VGA stuff - it has never worked and I have no plan to support it. Moveover, a correct implementation would be made in another driver as the cirrus_vga driver.

Also remove the DEBUG_TB_CHECK path, which gives me errors at link-time (page_get_flags) if CONFIG_USER_ONLY is not defined?