mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +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:
@@ -5,6 +5,8 @@
|
||||
* PURPOSE: ASM macros for for GAS and MASM/ML64
|
||||
* PROGRAMMERS: Timo Kreuzer ([email protected])
|
||||
*/
|
||||
#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_ */
|
||||
|
||||
Reference in New Issue
Block a user