Mercurial > ecos
comparison packages/io/eth/current/src/lwip/lw.diff @ 210:d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
| author | jlarmour |
|---|---|
| date | Thu, 23 May 2002 22:59:51 +0000 |
| parents | e0c0827131d1 |
| children |
comparison
equal
deleted
inserted
replaced
| 209:19edcb2e78cc | 210:d2c90368aeef |
|---|---|
| 211 + * | 211 + * |
| 212 + * This file is part of the lwIP TCP/IP stack. | 212 + * This file is part of the lwIP TCP/IP stack. |
| 213 + * | 213 + * |
| 214 + * Author: Adam Dunkels <adam@sics.se> | 214 + * Author: Adam Dunkels <adam@sics.se> |
| 215 + * | 215 + * |
| 216 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 216 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 217 + */ | 217 + */ |
| 218 +#ifndef __LWIPOPTS_H__ | 218 +#ifndef __LWIPOPTS_H__ |
| 219 +#define __LWIPOPTS_H__ | 219 +#define __LWIPOPTS_H__ |
| 220 + | 220 + |
| 221 +/* ---------- Memory options ---------- */ | 221 +/* ---------- Memory options ---------- */ |
| 389 + * | 389 + * |
| 390 + * This file is part of the lwIP TCP/IP stack. | 390 + * This file is part of the lwIP TCP/IP stack. |
| 391 + * | 391 + * |
| 392 + * Author: Adam Dunkels <adam@sics.se> | 392 + * Author: Adam Dunkels <adam@sics.se> |
| 393 + * | 393 + * |
| 394 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 394 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 395 + */ | 395 + */ |
| 396 + | 396 + |
| 397 +#include "lwip/debug.h" | 397 +#include "lwip/debug.h" |
| 398 + | 398 + |
| 399 +#include <unistd.h> | 399 +#include <unistd.h> |
| 585 + * | 585 + * |
| 586 + * This file is part of the lwIP TCP/IP stack. | 586 + * This file is part of the lwIP TCP/IP stack. |
| 587 + * | 587 + * |
| 588 + * Author: Adam Dunkels <adam@sics.se> | 588 + * Author: Adam Dunkels <adam@sics.se> |
| 589 + * | 589 + * |
| 590 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 590 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 591 + */ | 591 + */ |
| 592 +#ifndef __ARCH_CC_H__ | 592 +#ifndef __ARCH_CC_H__ |
| 593 +#define __ARCH_CC_H__ | 593 +#define __ARCH_CC_H__ |
| 594 + | 594 + |
| 595 +typedef unsigned char u8_t; | 595 +typedef unsigned char u8_t; |
| 640 + * | 640 + * |
| 641 + * This file is part of the lwIP TCP/IP stack. | 641 + * This file is part of the lwIP TCP/IP stack. |
| 642 + * | 642 + * |
| 643 + * Author: Adam Dunkels <adam@sics.se> | 643 + * Author: Adam Dunkels <adam@sics.se> |
| 644 + * | 644 + * |
| 645 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 645 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 646 + */ | 646 + */ |
| 647 +#ifndef __ARCH_CPU_H__ | 647 +#ifndef __ARCH_CPU_H__ |
| 648 +#define __ARCH_CPU_H__ | 648 +#define __ARCH_CPU_H__ |
| 649 + | 649 + |
| 650 +#if (CYG_BYTEORDER == CYG_LSBFIRST) | 650 +#if (CYG_BYTEORDER == CYG_LSBFIRST) |
| 688 + * | 688 + * |
| 689 + * This file is part of the lwIP TCP/IP stack. | 689 + * This file is part of the lwIP TCP/IP stack. |
| 690 + * | 690 + * |
| 691 + * Author: Adam Dunkels <adam@sics.se> | 691 + * Author: Adam Dunkels <adam@sics.se> |
| 692 + * | 692 + * |
| 693 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 693 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 694 + */ | 694 + */ |
| 695 +#ifndef __ARCH_INIT_H__ | 695 +#ifndef __ARCH_INIT_H__ |
| 696 +#define __ARCH_INIT_H__ | 696 +#define __ARCH_INIT_H__ |
| 697 + | 697 + |
| 698 +#define TCPIP_INIT_DONE(arg) sys_sem_signal(*(sys_sem_t *)arg) | 698 +#define TCPIP_INIT_DONE(arg) sys_sem_signal(*(sys_sem_t *)arg) |
| 736 + * | 736 + * |
| 737 + * This file is part of the lwIP TCP/IP stack. | 737 + * This file is part of the lwIP TCP/IP stack. |
| 738 + * | 738 + * |
| 739 + * Author: Adam Dunkels <adam@sics.se> | 739 + * Author: Adam Dunkels <adam@sics.se> |
| 740 + * | 740 + * |
| 741 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 741 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 742 + */ | 742 + */ |
| 743 +#ifndef __ARCH_LIB_H__ | 743 +#ifndef __ARCH_LIB_H__ |
| 744 +#define __ARCH_LIB_H__ | 744 +#define __ARCH_LIB_H__ |
| 745 + | 745 + |
| 746 +#endif /* __ARCH_LIB_H__ */ | 746 +#endif /* __ARCH_LIB_H__ */ |
| 778 + * | 778 + * |
| 779 + * This file is part of the lwIP TCP/IP stack. | 779 + * This file is part of the lwIP TCP/IP stack. |
| 780 + * | 780 + * |
| 781 + * Author: Adam Dunkels <adam@sics.se> | 781 + * Author: Adam Dunkels <adam@sics.se> |
| 782 + * | 782 + * |
| 783 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 783 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 784 + */ | 784 + */ |
| 785 +#ifndef __PERF_H__ | 785 +#ifndef __PERF_H__ |
| 786 +#define __PERF_H__ | 786 +#define __PERF_H__ |
| 787 + | 787 + |
| 788 +#define PERF_START /* null definition */ | 788 +#define PERF_START /* null definition */ |
| 840 + * | 840 + * |
| 841 + * This file is part of the lwIP TCP/IP stack. | 841 + * This file is part of the lwIP TCP/IP stack. |
| 842 + * | 842 + * |
| 843 + * Author: Adam Dunkels <adam@sics.se> | 843 + * Author: Adam Dunkels <adam@sics.se> |
| 844 + * | 844 + * |
| 845 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 845 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 846 + */ | 846 + */ |
| 847 +#ifndef __ECOSIF_H__ | 847 +#ifndef __ECOSIF_H__ |
| 848 +#define __ECOSIF_H__ | 848 +#define __ECOSIF_H__ |
| 849 + | 849 + |
| 850 +#include "lwip/netif.h" | 850 +#include "lwip/netif.h" |
| 886 + * | 886 + * |
| 887 + * This file is part of the lwIP TCP/IP stack. | 887 + * This file is part of the lwIP TCP/IP stack. |
| 888 + * | 888 + * |
| 889 + * Author: Adam Dunkels <adam@sics.se> | 889 + * Author: Adam Dunkels <adam@sics.se> |
| 890 + * | 890 + * |
| 891 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 891 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 892 + */ | 892 + */ |
| 893 + | 893 + |
| 894 +/* These are generic implementations of various library functions used | 894 +/* These are generic implementations of various library functions used |
| 895 + * throughout the lwIP code. When porting, those should be optimized | 895 + * throughout the lwIP code. When porting, those should be optimized |
| 896 + * for the particular processor architecture, preferably coded in | 896 + * for the particular processor architecture, preferably coded in |
| 982 + * | 982 + * |
| 983 + * This file is part of the lwIP TCP/IP stack. | 983 + * This file is part of the lwIP TCP/IP stack. |
| 984 + * | 984 + * |
| 985 + * Author: Adam Dunkels <adam@sics.se> | 985 + * Author: Adam Dunkels <adam@sics.se> |
| 986 + * | 986 + * |
| 987 + * $Id: lw.diff,v 1.1 2002/05/20 22:24:22 jlarmour Exp $ | 987 + * $Id: lw.diff,v 1.2 2002/05/23 23:06:02 jlarmour Exp $ |
| 988 + */ | 988 + */ |
| 989 + | 989 + |
| 990 +#include "lwip/debug.h" | 990 +#include "lwip/debug.h" |
| 991 + | 991 + |
| 992 +#include "lwip/opt.h" | 992 +#include "lwip/opt.h" |
