Commit | Line | Data |
---|---|---|
ca3355a9 DH |
1 | /* |
2 | Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. | |
3 | All rights reserved. | |
4 | ||
5 | Redistribution and use in source and binary forms, with or without | |
6 | modification, are permitted provided that the following conditions are met: | |
7 | ||
8 | * Redistributions of source code must retain the above copyright notice, | |
9 | this list of conditions and the following disclaimer. | |
10 | * Redistributions in binary form must reproduce the above copyright notice, | |
11 | this list of conditions and the following disclaimer in the documentation | |
12 | and/or other materials provided with the distribution. | |
13 | * Neither the name of Trident Microsystems nor Hauppauge Computer Works | |
14 | nor the names of its contributors may be used to endorse or promote | |
15 | products derived from this software without specific prior written | |
16 | permission. | |
17 | ||
18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | |
22 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
25 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
26 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
27 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
28 | POSSIBILITY OF SUCH DAMAGE. | |
29 | */ | |
30 | ||
38b2df95 DH |
31 | /** |
32 | * \file $Id: bsp_host.h,v 1.3 2009/07/07 14:20:30 justin Exp $ | |
33 | * | |
34 | * \brief Host and OS dependent type definitions, macro's and functions | |
35 | * | |
36 | */ | |
37 | ||
38b2df95 DH |
38 | #ifndef __DRXBSP_HOST_H__ |
39 | #define __DRXBSP_HOST_H__ | |
40 | /*------------------------------------------------------------------------- | |
41 | INCLUDES | |
42 | -------------------------------------------------------------------------*/ | |
43 | #include "bsp_types.h" | |
44 | ||
45 | #ifdef __cplusplus | |
46 | extern "C" { | |
47 | #endif | |
48 | ||
49 | /*------------------------------------------------------------------------- | |
50 | TYPEDEFS | |
51 | -------------------------------------------------------------------------*/ | |
52 | ||
38b2df95 DH |
53 | /*------------------------------------------------------------------------- |
54 | DEFINES | |
55 | -------------------------------------------------------------------------*/ | |
56 | ||
57 | /*------------------------------------------------------------------------- | |
58 | Exported FUNCTIONS | |
59 | -------------------------------------------------------------------------*/ | |
443f18d0 | 60 | DRXStatus_t DRXBSP_HST_Init(void); |
38b2df95 | 61 | |
443f18d0 | 62 | DRXStatus_t DRXBSP_HST_Term(void); |
38b2df95 | 63 | |
443f18d0 | 64 | void *DRXBSP_HST_Memcpy(void *to, void *from, u32_t n); |
38b2df95 | 65 | |
443f18d0 | 66 | int DRXBSP_HST_Memcmp(void *s1, void *s2, u32_t n); |
38b2df95 | 67 | |
443f18d0 | 68 | u32_t DRXBSP_HST_Clock(void); |
38b2df95 | 69 | |
443f18d0 | 70 | DRXStatus_t DRXBSP_HST_Sleep(u32_t n); |
38b2df95 DH |
71 | |
72 | /*------------------------------------------------------------------------- | |
73 | THE END | |
74 | -------------------------------------------------------------------------*/ | |
75 | #ifdef __cplusplus | |
76 | } | |
77 | #endif | |
443f18d0 | 78 | #endif /* __DRXBSP_HOST_H__ */ |