Bug 7519 - Suspicious code in xf86ExtendedInitInt10
Summary: Suspicious code in xf86ExtendedInitInt10
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high minor
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: xorg-7.4
  Show dependency treegraph
 
Reported: 2006-07-13 16:17 UTC by Ian Romanick
Modified: 2008-02-29 12:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ian Romanick 2006-07-13 16:17:16 UTC
The BUS_ISA case in xf86ExtendedInitInt10 (hw/xfree86/int10/generic.c, line 220)
seems suspicious.  bios_location gets set to bios.location.legacy regardless of
the value of bios.location.legacy.  However, a different message is printed if
bios.location.legacy is zero.

In addition, in the case where _PC is not defined (line 315), bios_location is
only over-ridden when bios.location.legacy is non-zero.

This is suspicious, and I suspect that the code at line 220 is wrong.  If it is
correct, can anybody explain why?
Comment 1 Daniel Stone 2007-02-27 01:32:55 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Adam Jackson 2008-02-29 12:28:50 UTC
The BiosLocation option is gone now, so I think this is moot.  ISA devices had better have their ROM at 0xc0000 or else.

ISA support is effectively dead in 1.5 anyway.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.