Revision: 5588
          http://jnode.svn.sourceforge.net/jnode/?rev=5588&view=rev
Author:   lsantha
Date:     2009-07-03 19:34:42 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Integrating assembler patches from Gilles Duboscq

Modified Paths:
--------------
    trunk/core/src/native/x86/unsafe.asm

Modified: trunk/core/src/native/x86/unsafe.asm
===================================================================
--- trunk/core/src/native/x86/unsafe.asm        2009-07-03 19:32:13 UTC (rev 
5587)
+++ trunk/core/src/native/x86/unsafe.asm        2009-07-03 19:34:42 UTC (rev 
5588)
@@ -339,20 +339,20 @@
 ; DO NOT USE THAT METHOD : it's bogus (especially for 64 bits CPU) and has not 
yet been tested       
 GLABEL 
Q43org5jnode2vm6Unsafe23callVbeFunction2e28Lorg2fvmmagic2funboxed2fAddress3bILorg2fvmmagic2funboxed2fAddress3b29I
        push ADI
-       mov EAX,[ESP+(3*SLOT_SIZE)] ; function
-       mov EDI,[ESP+(2*SLOT_SIZE)] ; bufferPtr
+       mov eax,[esp+(3*SLOT_SIZE)] ; function
+       mov edi,[esp+(2*SLOT_SIZE)] ; bufferPtr
        
        ; move higher 16 bits of EDI to ES
-       mov EBX, EDI
-       shr EBX, 16
+       mov ebx, edi
+       shr ebx, 16
 %ifdef BITS32  
-       mov ES, EBX
+       mov es, ebx
 ; TODO how should we do for 64 bits CPU ?      
 %endif
        
        ; keep only lower 16 bits of EDI
-       and EDI, 0x0000FFFF
+       and edi, 0x0000FFFF
        
-       call dword far [ESP+(4*SLOT_SIZE)] ; codePtr 
+       call dword [esp+(4*SLOT_SIZE)] ; codePtr 
        pop ADI
-       ret SLOT_SIZE*3
\ No newline at end of file
+       ret SLOT_SIZE*3


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to