[ros-diffs] [tkreuzer] 52130: [ASM] Fix amd64 compilation of some code

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue Jun 7 14:21:46 UTC 2011


Author: tkreuzer
Date: Tue Jun  7 14:21:46 2011
New Revision: 52130

URL: http://svn.reactos.org/svn/reactos?rev=52130&view=rev
Log:
[ASM]
Fix amd64 compilation of some code

Modified:
    trunk/reactos/include/asm/asm.inc

Modified: trunk/reactos/include/asm/asm.inc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/asm/asm.inc?rev=52130&r1=52129&r2=52130&view=diff
==============================================================================
--- trunk/reactos/include/asm/asm.inc [iso-8859-1] (original)
+++ trunk/reactos/include/asm/asm.inc [iso-8859-1] Tue Jun  7 14:21:46 2011
@@ -35,11 +35,13 @@
     name PROC FRAME
     _name:
 ENDM
+#define FUNC .PROC
 
 /* ... and .ENDP, replacing ENDP */
 .ENDP MACRO name
     name ENDP
 ENDM
+#define ENDFUNC .ENDP
 
 /* MASM doesn't have an ASCII macro */
 .ASCII MACRO text
@@ -50,10 +52,7 @@
 .ASCIZ MACRO text
     DB text, 0
 ENDM
-
-#define lgdt lgdt fword ptr ds:
-
-#define lidt lidt fword ptr ds:
+#define asciz ASCIZ
 
 ljmp MACRO segment, offset
     DB 0




More information about the Ros-diffs mailing list