mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[ASM]
Fix amd64 compilation of some code svn path=/trunk/; revision=52130
This commit is contained in:
parent
ca01ae5c4a
commit
ba527343d6
1 changed files with 3 additions and 4 deletions
|
@ -35,11 +35,13 @@ rip = 0
|
|||
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 @@ ENDM
|
|||
.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
|
||||
|
|
Loading…
Reference in a new issue