mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[ASM]
Add include guards to asm.inc and comment out broken ljmp macro svn path=/trunk/; revision=50438
This commit is contained in:
parent
b1d121930a
commit
2ea57bf789
1 changed files with 9 additions and 9 deletions
|
@ -5,6 +5,8 @@
|
|||
* PURPOSE: ASM macros for for GAS and MASM/ML64
|
||||
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||
*/
|
||||
#ifndef _ASM_INC_
|
||||
#define _ASM_INC_
|
||||
|
||||
#ifdef _USE_ML
|
||||
|
||||
|
@ -53,10 +55,6 @@ ENDM
|
|||
|
||||
#define lidt lidt fword ptr ds:
|
||||
|
||||
ljmp MACRO segment, offset
|
||||
DB 0
|
||||
ENDM
|
||||
|
||||
.code64 MACRO
|
||||
.code
|
||||
ENDM
|
||||
|
@ -115,9 +113,9 @@ ENDM
|
|||
// FIXME
|
||||
ENDM
|
||||
|
||||
ljmp MACRO segment, offset
|
||||
//ljmp MACRO segment, offset
|
||||
// FIXME
|
||||
ENDM
|
||||
//ENDM
|
||||
|
||||
UNIMPLEMENTED MACRO name
|
||||
ENDM
|
||||
|
@ -176,9 +174,9 @@ ENDM
|
|||
#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 @@ code = 1
|
|||
#define elseif .elseif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_INC_ */
|
||||
|
|
Loading…
Reference in a new issue