Make use of fastcall.
This commit is contained in:
parent
e4086d8374
commit
102e3e2a24
2 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
*
|
*
|
||||||
* @(#)$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 <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -56,7 +56,7 @@ struct {
|
||||||
} *module;
|
} *module;
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
void CC_FASTCALL
|
||||||
ethernet_init(struct ethernet_config *config)
|
ethernet_init(struct ethernet_config *config)
|
||||||
{
|
{
|
||||||
static const char signature[4] = {0x65, 0x74, 0x68, 0x01};
|
static const char signature[4] = {0x65, 0x74, 0x68, 0x01};
|
||||||
|
|
|
@ -30,13 +30,13 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
*
|
*
|
||||||
* $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__
|
#ifndef __ETHERNET_H__
|
||||||
#define __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);
|
u16_t ethernet_poll(void);
|
||||||
void ethernet_send(void);
|
void ethernet_send(void);
|
||||||
void ethernet_exit(void);
|
void ethernet_exit(void);
|
||||||
|
|
Loading…
Reference in a new issue