Bug 6416

Summary: Add LoaderGetABIVersion
Product: xorg Reporter: Aaron Plattner <aplattner>
Component: Server/GeneralAssignee: Aaron Plattner <aplattner>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 6417    

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.