FASTCALL character function

This commit is contained in:
Empathic Qubit 2022-12-31 23:52:55 +01:00
parent 48d837a0af
commit 621327f062
3 changed files with 6 additions and 6 deletions

View file

@ -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. */

View file

@ -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

View file

@ -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;