1 |
786 |
skrzyp |
//==========================================================================
|
2 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
3 |
|
|
// -------------------------------------------
|
4 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
5 |
|
|
// Copyright (C) 2008 Free Software Foundation
|
6 |
|
|
//
|
7 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
8 |
|
|
// the terms of the GNU General Public License as published by the Free
|
9 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
10 |
|
|
//
|
11 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
12 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
13 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
14 |
|
|
// for more details.
|
15 |
|
|
//
|
16 |
|
|
// You should have received a copy of the GNU General Public License along
|
17 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
18 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
19 |
|
|
//
|
20 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
21 |
|
|
// or inline functions from this file, or you compile this file and link it
|
22 |
|
|
// with other works to produce a work based on this file, this file does not
|
23 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
24 |
|
|
// License. However the source code for this file must still be made available
|
25 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
26 |
|
|
//
|
27 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
28 |
|
|
// this file might be covered by the GNU General Public License.
|
29 |
|
|
// -------------------------------------------
|
30 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
31 |
|
|
//==========================================================================
|
32 |
|
|
|
33 |
|
|
#ifndef __LWIP_SYS_ARCH_H__
|
34 |
|
|
#define __LWIP_SYS_ARCH_H__
|
35 |
|
|
|
36 |
|
|
#include <cyg/kernel/kapi.h>
|
37 |
|
|
|
38 |
|
|
#include <lwip/opt.h>
|
39 |
|
|
|
40 |
|
|
#if !NO_SYS
|
41 |
|
|
|
42 |
|
|
typedef cyg_sem_t * sys_sem_t;
|
43 |
|
|
typedef cyg_handle_t sys_mbox_t;
|
44 |
|
|
typedef cyg_handle_t sys_thread_t;
|
45 |
|
|
|
46 |
|
|
#define SYS_SEM_NULL ((sys_sem_t) NULL)
|
47 |
|
|
#define SYS_MBOX_NULL ((sys_mbox_t) NULL)
|
48 |
|
|
|
49 |
|
|
#endif // !NO_SYS
|
50 |
|
|
|
51 |
|
|
#endif // __LWIP_SYS_ARCH_H__
|