diff --git a/hw/xfree86/int10/vbe.c b/hw/xfree86/int10/vbe.c index a4f3af58c..2fc0aa81a 100644 --- a/hw/xfree86/int10/vbe.c +++ b/hw/xfree86/int10/vbe.c @@ -728,23 +728,6 @@ VBESetDisplayStart(vbeInfoPtr pVbe, int x, int y, Bool wait_retrace) return TRUE; } -Bool -VBEGetDisplayStart(vbeInfoPtr pVbe, int *x, int *y) -{ - pVbe->pInt10->num = 0x10; - pVbe->pInt10->ax = 0x4f07; - pVbe->pInt10->bx = 0x01; - xf86ExecX86int10(pVbe->pInt10); - - if (R16(pVbe->pInt10->ax) != 0x4f) - return FALSE; - - *x = pVbe->pInt10->cx; - *y = pVbe->pInt10->dx; - - return TRUE; -} - int VBESetGetDACPaletteFormat(vbeInfoPtr pVbe, int bits) { diff --git a/hw/xfree86/int10/vbe.h b/hw/xfree86/int10/vbe.h index ee3a4daf8..da1a24815 100644 --- a/hw/xfree86/int10/vbe.h +++ b/hw/xfree86/int10/vbe.h @@ -268,7 +268,6 @@ extern _X_EXPORT Bool VBESetGetLogicalScanlineLength(vbeInfoPtr pVbe, /* 16 bit code */ extern _X_EXPORT Bool VBESetDisplayStart(vbeInfoPtr pVbe, int x, int y, Bool wait_retrace); -extern _X_EXPORT Bool VBEGetDisplayStart(vbeInfoPtr pVbe, int *x, int *y); /* * INT 8