From 73fabe4ba347707af90c0fae9a1d913dd8c32b32 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 3 Mar 2007 10:05:03 +0000 Subject: [PATCH] Factored out settings specific more to architecture and/or toolchain rather than specific target. --- cpu/6502/6502-conf.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cpu/6502/6502-conf.h diff --git a/cpu/6502/6502-conf.h b/cpu/6502/6502-conf.h new file mode 100644 index 000000000..c469803f9 --- /dev/null +++ b/cpu/6502/6502-conf.h @@ -0,0 +1,18 @@ +#ifndef __6502_CONF_H__ +#define __6502_CONF_H__ + +typedef unsigned char u8_t; +typedef unsigned short u16_t; +typedef unsigned long u32_t; +typedef unsigned short uip_stats_t; + +#define CC_CONF_REGISTER_ARGS 1 +#define CC_CONF_FASTCALL __fastcall__ + +#define CCIF +#define CLIF + +#define UIP_ARCH_ADD32 1 +#define UIP_ARCH_CHKSUM 1 + +#endif /* __6502_CONF_H__ */