; XGA Module definition file
; NB. this file is changed at build time, by replacing the #n entries as
; follows
;    #n, n=1 is a tag to identify the driver dll
;          2 is an extra segment define which is needed in some versions
;          3 is an extra segment define which is needed in some versions
;          4 is an extra export  which is needed in some versions

LIBRARY IBMXGA32

DESCRIPTION '#1 XGA PM (32 bit) DISPLAY DEVICE DRIVER: (c) Copyright IBM Corp. 1992'

; Provide default attributes for the segments
CODE LOADONCALL MOVEABLE DISCARDABLE
DATA LOADONCALL SHARED MOVABLE

; provide overrides for specific segments
SEGMENTS
         _TEXT16        CLASS 'CODE' PRELOAD MOVEABLE DISCARDABLE
         _CURSOR        CLASS 'CODE' PRELOAD
         _IOPL          CLASS 'CODE' LOADONCALL MOVEABLE DISCARDABLE
         _CODE16        CLASS 'CODE' PRELOAD NOIOPL
         _DATA16        CLASS 'DATA' PRELOAD NOIOPL
         _INSTANCE      CLASS 'DATA' NONSHARED
         #2
         #3

BASE = 0x1AE30000

EXPORTS
        movecursorblock                   @103
        OS2_PM_DRV_ENABLE                 @200
        OS2_PM_DRV_QUERYSCREENRESOLUTIONS @202
        SEAMLESSTERMINATE                 @350
        SEAMLESSINITIALIZE                @351
        OS2_PM_DRV_RING_LEVELS            @400
