forked from xt-sys/exectos
Add XTASSEMBLY routine modifier to instruct compiler to generate code without prolog and epilog
This commit is contained in:
parent
bf3d56385f
commit
2257ad1567
@ -13,18 +13,19 @@
|
|||||||
/* Routines and arguments modifiers */
|
/* Routines and arguments modifiers */
|
||||||
#define IN
|
#define IN
|
||||||
#define OUT
|
#define OUT
|
||||||
#define XTAPI __stdcall
|
#define XTAPI __stdcall
|
||||||
#define XTCDECL __cdecl
|
#define XTCDECL __cdecl
|
||||||
#define XTFASTCALL __fastcall
|
#define XTFASTCALL __fastcall
|
||||||
#define XTINLINE __inline
|
#define XTINLINE __inline
|
||||||
|
#define XTASSEMBLY __declspec(naked)
|
||||||
|
|
||||||
/* Variable modifiers */
|
/* Variable modifiers */
|
||||||
#define CONST const
|
#define CONST const
|
||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
#define STRUCT struct
|
#define STRUCT struct
|
||||||
#define STATIC static
|
#define STATIC static
|
||||||
#define UNION union
|
#define UNION union
|
||||||
#define VOLATILE volatile
|
#define VOLATILE volatile
|
||||||
|
|
||||||
/* NULL values */
|
/* NULL values */
|
||||||
#define NULL ((PVOID) 0)
|
#define NULL ((PVOID) 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user