mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +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
|
* PURPOSE: ASM macros for for GAS and MASM/ML64
|
||||||
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
#ifndef _ASM_INC_
|
||||||
|
#define _ASM_INC_
|
||||||
|
|
||||||
#ifdef _USE_ML
|
#ifdef _USE_ML
|
||||||
|
|
||||||
|
@ -53,10 +55,6 @@ ENDM
|
||||||
|
|
||||||
#define lidt lidt fword ptr ds:
|
#define lidt lidt fword ptr ds:
|
||||||
|
|
||||||
ljmp MACRO segment, offset
|
|
||||||
DB 0
|
|
||||||
ENDM
|
|
||||||
|
|
||||||
.code64 MACRO
|
.code64 MACRO
|
||||||
.code
|
.code
|
||||||
ENDM
|
ENDM
|
||||||
|
@ -115,9 +113,9 @@ ENDM
|
||||||
// FIXME
|
// FIXME
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
ljmp MACRO segment, offset
|
//ljmp MACRO segment, offset
|
||||||
// FIXME
|
// FIXME
|
||||||
ENDM
|
//ENDM
|
||||||
|
|
||||||
UNIMPLEMENTED MACRO name
|
UNIMPLEMENTED MACRO name
|
||||||
ENDM
|
ENDM
|
||||||
|
@ -176,9 +174,9 @@ ENDM
|
||||||
#define REPEAT .rept
|
#define REPEAT .rept
|
||||||
#define ENDR .endr
|
#define ENDR .endr
|
||||||
|
|
||||||
.macro ljmp segment, offset
|
//.macro ljmp segment, offset
|
||||||
jmp far ptr \segment:\offset
|
// jmp far ptr \segment:\offset
|
||||||
.endm
|
//.endm
|
||||||
|
|
||||||
/* MASM compatible EXTERN */
|
/* MASM compatible EXTERN */
|
||||||
.macro EXTERN name
|
.macro EXTERN name
|
||||||
|
@ -260,3 +258,5 @@ code = 1
|
||||||
#define elseif .elseif
|
#define elseif .elseif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* _ASM_INC_ */
|
||||||
|
|
Loading…
Reference in a new issue