ReactOS  0.4.14-dev-1233-gf5658fd
asm.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __ASM_NAME(name)   name
 
#define __ASM_STDCALL(name, args)   __ASM_NAME(name)
 
#define __ASM_CFI(str)
 
#define __ASM_SEH(str)
 
#define __ASM_FUNC_TYPE(name)   ".type " name ",@function"
 
#define __ASM_DEFINE_FUNC(name, code)
 
#define __ASM_GLOBAL_FUNC(name, code)   __ASM_DEFINE_FUNC(__ASM_NAME(#name),code)
 
#define __ASM_STDCALL_FUNC(name, args, code)   __ASM_DEFINE_FUNC(__ASM_STDCALL(#name,args),code)
 
#define DEFINE_FASTCALL1_WRAPPER(func)   /* nothing */
 
#define DEFINE_FASTCALL_WRAPPER(func, args)   /* nothing */
 
#define DEFINE_THISCALL_WRAPPER(func, args)   /* nothing */
 
#define THISCALL(func)   func
 
#define THISCALL_NAME(func)   __ASM_NAME(#func)
 

Macro Definition Documentation

◆ __ASM_CFI

#define __ASM_CFI (   str)

Definition at line 39 of file asm.h.

◆ __ASM_DEFINE_FUNC

#define __ASM_DEFINE_FUNC (   name,
  code 
)
Value:
void __asm_dummy_##__LINE__(void) { \
asm(".text\n\t.align 4\n\t.globl " name "\n\t" __ASM_FUNC_TYPE(name) __ASM_SEH("\n\t.seh_proc " name) "\n" name ":\n\t" \
__ASM_CFI(".cfi_startproc\n\t") code __ASM_CFI("\n\t.cfi_endproc") __ASM_SEH("\n\t.seh_endproc") ); }
#define __ASM_CFI(str)
Definition: asm.h:39
Definition: name.c:38
#define __ASM_FUNC_TYPE(name)
Definition: asm.h:55
#define __ASM_SEH(str)
Definition: asm.h:45

Definition at line 66 of file asm.h.

◆ __ASM_FUNC_TYPE

#define __ASM_FUNC_TYPE (   name)    ".type " name ",@function"

Definition at line 55 of file asm.h.

◆ __ASM_GLOBAL_FUNC

#define __ASM_GLOBAL_FUNC (   name,
  code 
)    __ASM_DEFINE_FUNC(__ASM_NAME(#name),code)

Definition at line 71 of file asm.h.

◆ __ASM_NAME

#define __ASM_NAME (   name)    name

Definition at line 27 of file asm.h.

◆ __ASM_SEH

#define __ASM_SEH (   str)

Definition at line 45 of file asm.h.

◆ __ASM_STDCALL

#define __ASM_STDCALL (   name,
  args 
)    __ASM_NAME(name)

Definition at line 33 of file asm.h.

◆ __ASM_STDCALL_FUNC

#define __ASM_STDCALL_FUNC (   name,
  args,
  code 
)    __ASM_DEFINE_FUNC(__ASM_STDCALL(#name,args),code)

Definition at line 73 of file asm.h.

◆ DEFINE_FASTCALL1_WRAPPER

#define DEFINE_FASTCALL1_WRAPPER (   func)    /* nothing */

Definition at line 95 of file asm.h.

◆ DEFINE_FASTCALL_WRAPPER

#define DEFINE_FASTCALL_WRAPPER (   func,
  args 
)    /* nothing */

Definition at line 96 of file asm.h.

◆ DEFINE_THISCALL_WRAPPER

#define DEFINE_THISCALL_WRAPPER (   func,
  args 
)    /* nothing */

Definition at line 144 of file asm.h.

◆ THISCALL

#define THISCALL (   func)    func

Definition at line 145 of file asm.h.

◆ THISCALL_NAME

#define THISCALL_NAME (   func)    __ASM_NAME(#func)

Definition at line 146 of file asm.h.