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=52…
==============================================================================
--- 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