From 96801285399d7d50c3f76028a4b72967beb39626 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 17:03:29 +0200 Subject: [PATCH] xfree86: vbe: drop unused VBEGetDisplayStart() Not used anywhere, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/int10/vbe.c | 17 ----------------- hw/xfree86/int10/vbe.h | 1 - 2 files changed, 18 deletions(-) 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