compiler error in CONFIG_S3VGA
Hi,
qemu/hw/vga.c: typo: s/uinr32_t/uint32_t/
Thank you,
hw/vga.c +1 -1
@@ -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 */
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.cqemu/hw/vga.chw/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
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_vgadriver.
Also remove the DEBUG_TB_CHECK path, which gives me errors at link-time (page_get_flags) if CONFIG_USER_ONLY is not defined?