diff options
author | Keith Packard <keithp@keithp.com> | 2003-10-14 05:08:35 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2003-10-14 05:08:35 +0000 |
commit | 109b94951654171ada94e2ffb29568b8a1bcde77 (patch) | |
tree | 839f0c2933a071b9af1511226ac7e160d8dde82f /hw/kdrive/vesa/vga.c | |
parent | 4b844cafb2516139c8407822b61939cd6c743742 (diff) |
-Wall fixes. Might have fixed VESA based DPMS code as a result
Diffstat (limited to 'hw/kdrive/vesa/vga.c')
-rw-r--r-- | hw/kdrive/vesa/vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/vesa/vga.c b/hw/kdrive/vesa/vga.c index aad2756de..500746774 100644 --- a/hw/kdrive/vesa/vga.c +++ b/hw/kdrive/vesa/vga.c @@ -115,14 +115,14 @@ VgaGetMode (Vm86InfoPtr vi, int *mode) return 0; } -int +void VgaSetWritePlaneMask(Vm86InfoPtr vi, int mask) { asm volatile ("outb %b0,%w1" : : "a" (2), "d" (0x3c4)); asm volatile ("outb %b0,%w1" : : "a" (mask), "d" (0x3c5)); } -int +void VgaSetReadPlaneMap(Vm86InfoPtr vi, int map) { asm volatile ("outb %b0,%w1" : : "a" (4), "d" (0x3ce)); |