File u_x86emu-Don-t-error-if-segment-address-for-BIOS-segment-is-out-of-range.patch of Package xorg-x11-server.5207
From: Egbert Eich <eich@suse.de>
Date: Fri Aug 14 14:07:29 2015 +0200
Subject: [PATCH]x86emu: Don't error if segment address for BIOS segment is out-of-range
Patch-mainline: to be upstreamed
References: bnc#923005
Signed-off-by: Egbert Eich <eich@suse.com>
There are different ways to try to find the BIOS segment address.
In case one gives an out-of-range segment, retry the other methods.
Signed-off-by: Egbert Eich <eich@suse.de>
---
hw/xfree86/int10/helper_mem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/int10/helper_mem.c b/hw/xfree86/int10/helper_mem.c
index 160c5ae..3395c13 100644
--- a/hw/xfree86/int10/helper_mem.c
+++ b/hw/xfree86/int10/helper_mem.c
@@ -281,10 +281,10 @@ xf86int10GetBiosLocationType(const xf86Int10InfoPtr pInt)
#define CHECK_V_SEGMENT_RANGE(x) \
if (((x) << 4) < V_BIOS) { \
- xf86DrvMsg(pInt->pScrn->scrnIndex, X_ERROR, \
+ xf86DrvMsg(pInt->pScrn->scrnIndex, X_WARNING, \
"V_BIOS address 0x%lx out of range\n", \
(unsigned long)(x) << 4); \
- return FALSE; \
+ continue; \
}
Bool