From 102e3e2a2417f7aefd00a3a4998afb9c15b08320 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Fri, 21 Dec 2007 01:13:44 +0000 Subject: [PATCH] Make use of fastcall. --- cpu/6502/net/ethernet.c | 4 ++-- cpu/6502/net/ethernet.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpu/6502/net/ethernet.c b/cpu/6502/net/ethernet.c index 023909063..89279c4a9 100644 --- a/cpu/6502/net/ethernet.c +++ b/cpu/6502/net/ethernet.c @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * @(#)$Id: ethernet.c,v 1.4 2007/12/16 17:02:37 oliverschmidt Exp $ + * @(#)$Id: ethernet.c,v 1.5 2007/12/21 01:13:44 oliverschmidt Exp $ */ #include @@ -56,7 +56,7 @@ struct { } *module; /*---------------------------------------------------------------------------*/ -void +void CC_FASTCALL ethernet_init(struct ethernet_config *config) { static const char signature[4] = {0x65, 0x74, 0x68, 0x01}; diff --git a/cpu/6502/net/ethernet.h b/cpu/6502/net/ethernet.h index 241e8721f..ed050b379 100644 --- a/cpu/6502/net/ethernet.h +++ b/cpu/6502/net/ethernet.h @@ -30,13 +30,13 @@ * * Author: Oliver Schmidt * - * $Id: ethernet.h,v 1.1 2007/11/20 21:10:21 oliverschmidt Exp $ + * $Id: ethernet.h,v 1.2 2007/12/21 01:13:44 oliverschmidt Exp $ */ #ifndef __ETHERNET_H__ #define __ETHERNET_H__ -void ethernet_init(struct ethernet_config *config); +void CC_FASTCALL ethernet_init(struct ethernet_config *config); u16_t ethernet_poll(void); void ethernet_send(void); void ethernet_exit(void);