Author: tkreuzer
Date: Wed Jan 19 16:58:58 2011
New Revision: 50438
URL:
http://svn.reactos.org/svn/reactos?rev=50438&view=rev
Log:
[ASM]
Add include guards to asm.inc and comment out broken ljmp macro
Modified:
trunk/reactos/include/reactos/asm.inc
Modified: trunk/reactos/include/reactos/asm.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/asm.inc?re…
==============================================================================
--- trunk/reactos/include/reactos/asm.inc [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/asm.inc [iso-8859-1] Wed Jan 19 16:58:58 2011
@@ -5,6 +5,8 @@
* PURPOSE: ASM macros for for GAS and MASM/ML64
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
+#ifndef _ASM_INC_
+#define _ASM_INC_
#ifdef _USE_ML
@@ -53,10 +55,6 @@
#define lidt lidt fword ptr ds:
-ljmp MACRO segment, offset
- DB 0
-ENDM
-
.code64 MACRO
.code
ENDM
@@ -115,9 +113,9 @@
// FIXME
ENDM
-ljmp MACRO segment, offset
+//ljmp MACRO segment, offset
// FIXME
-ENDM
+//ENDM
UNIMPLEMENTED MACRO name
ENDM
@@ -176,9 +174,9 @@
#define REPEAT .rept
#define ENDR .endr
-.macro ljmp segment, offset
- jmp far ptr \segment:\offset
-.endm
+//.macro ljmp segment, offset
+// jmp far ptr \segment:\offset
+//.endm
/* MASM compatible EXTERN */
.macro EXTERN name
@@ -260,3 +258,5 @@
#define elseif .elseif
#endif
+
+#endif /* _ASM_INC_ */