2 * ============================================================================
6 * IXP400 SW Release version 2.0
8 * -- Copyright Notice --
11 * Copyright 2001-2005, Intel Corporation.
12 * All rights reserved.
15 * Redistribution and use in source and binary forms, with or without
16 * modification, are permitted provided that the following conditions
18 * 1. Redistributions of source code must retain the above copyright
19 * notice, this list of conditions and the following disclaimer.
20 * 2. Redistributions in binary form must reproduce the above copyright
21 * notice, this list of conditions and the following disclaimer in the
22 * documentation and/or other materials provided with the distribution.
23 * 3. Neither the name of the Intel Corporation nor the names of its contributors
24 * may be used to endorse or promote products derived from this software
25 * without specific prior written permission.
28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
32 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
41 * -- End of Copyright Notice --
43 * Intel(r) IXP425 Software Release
46 * OSSL - Operating System Services Library
49 * OSSL Abstraction layer header file
52 * ix_ossl.h (Replaced by OSAL)
55 * This file contains the prototypes of OS-independent wrapper
56 * functions which allow the programmer not to be tied to a specific
57 * operating system. The OSSL functions can be divided into three classes:
59 * 1) synchronization-related wrapper functions around thread system calls
60 * 2) thread-related wrapper functions around thread calls
61 * 3) transactor/workbench osapi calls -- defined in osApi.h
63 * Both 1 and 2 classes of functions provide Thread Management, Thread
64 * Synchronization, Mutual Exclusion and Timer primitives. Namely,
65 * creation and deletion functions as well as the standard "wait" and
66 * "exit". Additionally, a couple of utility functions which enable to
67 * pause the execution of a thread are also provided.
69 * The 3rd class provides a slew of other OSAPI functions to handle
70 * Transactor/WorkBench OS calls.
74 * The OSSL thread functions that allow for thread creation,
75 * get thread id, thread deletion and set thread priroity.
77 * ix_ossl_thread_create
78 * ix_ossl_thread_get_id
81 * ix_ossl_thread_set_priority
82 * ix_ossl_thread__delay
84 * OSSL Semaphore APIs:
85 * The OSSL semaphore functions that allow for initialization,
86 * posting, waiting and deletion of semaphores.
95 * The OSSL wrapper functions that allow for initialization,
96 * posting, waiting and deletion of mutexes.
101 * ix_ossl_mutex_unlock
104 * The timer APIs provide sleep and get time functions.
110 * OSAPIs for Transactor/WorkBench:
111 * These OSAPI functions are used for transator OS calls.
112 * They are defined in osApi.h.
126 **********************************************************************
136 * 1/8/2002 1:53:42 PM
139 * 02/22/2002 : Renamed osapi.h os_api.h
140 * Moved OS header file includes from OSSL.h to os_api.h
141 * Moved OS specific datatypes to os_api.h
142 * Modified data types, macros and functions as per
143 * 'C' coding guidelines.
146 * ============================================================================
150 #ifndef __doxygen_hide
152 #endif /* __doxygen_hide */
154 #include "IxOsalBackward.h"
156 #endif /* _IX_OSSL_H */