Changeset 18139 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Mar 23, 2009 2:03:59 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions/common/crOpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/Linux_i386_exports.py
r16381 r18139 34 34 35 35 print "BEGINPROC_EXPORTED gl%s" % func_name 36 print "%ifdef RT_ARCH_AMD64" 37 print "\tmov \trax, qword glim+%d" % (8*index) 38 print "\tjmp \t[rax]" 39 print "%else ; X86" 40 print "\tmov \teax, dword glim+%d" % (4*index) 41 print "\tjmp \t[eax]" 42 print "%endif" 36 print "\tjmp \t[RTHCPTR_PRE glim + RTHCPTR_CB*%d]" % index 43 37 print "ENDPROC gl%s" % func_name 44 38 print "" … … 65 59 index = keys.index(alias) 66 60 print "BEGINPROC_EXPORTED gl%s" % func_name 67 print "%ifdef RT_ARCH_AMD64" 68 print "\tmov \trax, qword glim+%d" % (8*index) 69 print "\tjmp \t[rax]" 70 print "%else ; X86" 71 print "\tmov \teax, dword glim+%d" % (4*index) 72 print "\tjmp \t[eax]" 73 print "%endif" 61 print "\tjmp \t[RTHCPTR_PRE glim + RTHCPTR_CB*%d]" % index 74 62 print "ENDPROC gl%s" % func_name 75 63 print "" -
trunk/src/VBox/Additions/common/crOpenGL/windows_i386_exports.py
r15532 r18139 34 34 print "BEGINPROC_EXPORTED cr_gl%s" % func_name 35 35 print "%ifdef RT_ARCH_AMD64" 36 print "\tmov \trax, qword glim+%d" % (8*index) 37 print "\tjmp \t[rax]" 36 print "\tjmp \t[RTHCPTR_PRE glim + RTHCPTR_CB*%d]" % index 38 37 print "%else ; X86" 39 print "\tmov \teax, dword _glim+%d" % (4*index) 40 print "\tjmp \t[eax]" 38 print "\tjmp \t[RTHCPTR_PRE _glim + RTHCPTR_CB*%d]" % index 41 39 print "%endif" 42 40 print "ENDPROC cr_gl%s" % func_name … … 64 62 index = keys.index(alias) 65 63 print "BEGINPROC_EXPORTED cr_gl%s" % func_name 66 print "%ifdef RT_ARCH_AMD64" 67 print "\tmov \trax, qword glim+%d" % (8*index) 68 print "\tjmp \t[rax]" 64 print "\tjmp \t[RTHCPTR_PRE glim + RTHCPTR_CB*%d]" % index 69 65 print "%else ; X86" 70 print "\tmov \teax, dword _glim+%d" % (4*index) 71 print "\tjmp \t[eax]" 66 print "\tjmp \t[RTHCPTR_PRE _glim + RTHCPTR_CB*%d]" % index 72 67 print "%endif" 73 68 print "ENDPROC cr_gl%s" % func_name
Note:
See TracChangeset
for help on using the changeset viewer.