Changeset 18140 in vbox for trunk/src/VBox/Additions/common/crOpenGL/windows_i386_exports.py
- Timestamp:
- Mar 23, 2009 2:28:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/windows_i386_exports.py
r18139 r18140 22 22 print "" 23 23 24 print""" 25 %ifdef RT_ARCH_AMD64 26 %define PTR_PRE qword 27 %define PTR_CB 8 28 %else 29 %define PTR_PRE dword 30 %define PTR_CB 4 31 %endif 32 """ 33 24 34 # Get sorted list of dispatched functions. 25 35 # The order is very important - it must match cr_opcodes.h … … 34 44 print "BEGINPROC_EXPORTED cr_gl%s" % func_name 35 45 print "%ifdef RT_ARCH_AMD64" 36 print "\tjmp \t[ RTHCPTR_PRE glim + RTHCPTR_CB*%d]" % index46 print "\tjmp \t[PTR_PRE glim + PTR_CB*%d]" % index 37 47 print "%else ; X86" 38 print "\tjmp \t[ RTHCPTR_PRE _glim + RTHCPTR_CB*%d]" % index48 print "\tjmp \t[PTR_PRE _glim + PTR_CB*%d]" % index 39 49 print "%endif" 40 50 print "ENDPROC cr_gl%s" % func_name … … 62 72 index = keys.index(alias) 63 73 print "BEGINPROC_EXPORTED cr_gl%s" % func_name 64 print "\tjmp \t[ RTHCPTR_PRE glim + RTHCPTR_CB*%d]" % index74 print "\tjmp \t[PTR_PRE glim + PTR_CB*%d]" % index 65 75 print "%else ; X86" 66 print "\tjmp \t[ RTHCPTR_PRE _glim + RTHCPTR_CB*%d]" % index76 print "\tjmp \t[PTR_PRE _glim + PTR_CB*%d]" % index 67 77 print "%endif" 68 78 print "ENDPROC cr_gl%s" % func_name
Note:
See TracChangeset
for help on using the changeset viewer.