Bug 6416 - Add LoaderGetABIVersion
Summary: Add LoaderGetABIVersion
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: Aaron Plattner
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6417
  Show dependency treegraph
 
Reported: 2006-03-28 15:07 UTC by Aaron Plattner
Modified: 2006-03-27 23:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Aaron Plattner 2006-03-28 15:07:03 UTC
A function for modules to query various ABI versions would be very helpful for
binary drivers that strive to support a range of server versions with a single
binary.  Right now, we (NVIDIA) have to use LoaderSymbol with various symbols to
determine which features are available.  This works fine for new symbols, but
doesn't work so well when structures or function prototypes are changed.
Comment 1 Aaron Plattner 2006-03-28 17:25:07 UTC
CVSROOT:	/cvs/xorg
Module name:	xserver
Changes by:	aplattner at kemper.freedesktop.org	06/03/28 07:21:50

Log message:
  * hw/xfree86/common/xf86Module.h:
  * hw/xfree86/loader/loader.c: (LoaderGetABIVersion):
  * hw/xfree86/loader/xf86sym.c:
  Add a new export, LoaderGetABIVersion.  This function allows modules to query
  the versions directly instead of having to guess.
  Bug #6416: Add LoaderGetABIVersion.

Modified files:
      xserver/xorg/hw/xfree86/common/:
        xf86Module.h 
      xserver/xorg/hw/xfree86/loader/:
        loader.c xf86sym.c 
      xserver/xorg/:
        ChangeLog 
  
  Revision      Changes    Path
  1.10          +1 -0      xserver/xorg/hw/xfree86/common/xf86Module.h
  http://cvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/common/xf86Module.h
  1.14          +25 -0     xserver/xorg/hw/xfree86/loader/loader.c
  http://cvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/loader/loader.c
  1.21          +1 -0      xserver/xorg/hw/xfree86/loader/xf86sym.c
  http://cvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/loader/xf86sym.c
  1.357         +9 -0      xserver/xorg/ChangeLog
  http://cvs.freedesktop.org/xorg/xserver/xorg/ChangeLog


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.