Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /*	BSDI osd_defs.h,v 1.4 1998/06/03 19:14:58 karels Exp	*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (c) 1996-1999 Distributed Processing Technology Corporation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Redistribution and use in source form, with or without modification, are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * permitted provided that redistributions of source code must retain the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  * above copyright notice, this list of conditions and the following disclaimer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  * This software is provided `as is' by Distributed Processing Technology and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  * any express or implied warranties, including, but not limited to, the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  * implied warranties of merchantability and fitness for a particular purpose,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  * are disclaimed. In no event shall Distributed Processing Technology be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  * liable for any direct, indirect, incidental, special, exemplary or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  * consequential damages (including, but not limited to, procurement of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  * substitute goods or services; loss of use, data, or profits; or business
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  * interruptions) however caused and on any theory of liability, whether in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)  * contract, strict liability, or tort (including negligence or otherwise)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  * arising in any way out of the use of this driver software, even if advised
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  * of the possibility of such damage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #ifndef		_OSD_DEFS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define		_OSD_DEFS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) /*File - OSD_DEFS.H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)  ****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)  *Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)  *	This file contains the OS dependent defines.  This file is included
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)  *in osd_util.h and provides the OS specific defines for that file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)  *Copyright Distributed Processing Technology, Corp.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)  *	  140 Candace Dr.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)  *	  Maitland, Fl.	32751   USA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)  *	  Phone: (407) 830-5522  Fax: (407) 260-5366
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)  *	  All Rights Reserved
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)  *Author:	Doug Anderson
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)  *Date:		1/31/94
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)  *Editors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)  *Remarks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)  *****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) /*Definitions - Defines & Constants ----------------------------------------- */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)   /* Define the operating system */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) #if (defined(__linux__))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) # define _DPT_LINUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) #elif (defined(__bsdi__))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) # define _DPT_BSDI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) #elif (defined(__FreeBSD__))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) # define _DPT_FREE_BSD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) # define _DPT_SCO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) #if defined (ZIL_CURSES)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) #define		_DPT_CURSES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) #define         _DPT_MOTIF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)   /* Redefine 'far' to nothing - no far pointer type required in UNIX */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) #define		far
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)   /* Define the mutually exclusive semaphore type */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) #define		SEMAPHORE_T	unsigned int *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76)   /* Define a handle to a DLL */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) #define		DLL_HANDLE_T	unsigned int *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) #endif