FASTCALL character function
This commit is contained in:
parent
48d837a0af
commit
621327f062
3 changed files with 6 additions and 6 deletions
|
@ -29,8 +29,8 @@
|
|||
}
|
||||
|
||||
/* These functions must be defined by the application */
|
||||
unsigned char gdb_getDebugChar(void);
|
||||
void gdb_putDebugChar(unsigned char ch);
|
||||
unsigned char gdb_getDebugChar(void) FASTCALL;
|
||||
void gdb_putDebugChar(unsigned char ch) FASTCALL;
|
||||
|
||||
/* This file contains the library exports. */
|
||||
|
||||
|
|
|
@ -69,10 +69,6 @@ byte _gdb_state[NUMREGBYTES];
|
|||
#error "Too small DBG_PACKET_SIZE"
|
||||
#endif
|
||||
|
||||
#ifndef FASTCALL
|
||||
#define FASTCALL __z88dk_fastcall
|
||||
#endif
|
||||
|
||||
#ifndef DBG_ENTER
|
||||
#define DBG_ENTER
|
||||
#else
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
#ifndef __GDB_LIB_H__
|
||||
#define __GDB_LIB_H__
|
||||
|
||||
#ifndef FASTCALL
|
||||
#define FASTCALL __z88dk_fastcall
|
||||
#endif
|
||||
|
||||
typedef unsigned char byte;
|
||||
typedef unsigned short word;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue