source: svn/zas_dstar/hal/os/src/module/dst_kernel.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

File size: 1.0 KB
Line 
1/****************************************************************************
2 * Copyright (c) 2006 DST Technologies Inc.  All Rights Reserved.   
3 *
4 * Module:      LLD_KERNEL
5 *
6 * Description: This file contains Linux specific macros
7 *
8 * Notes:       
9 *
10 ***************************************************************************/
11#ifndef _LLD_KERNEL_H_
12#define _LLD_KERNEL_H_
13
14/*=========================================
15 * Linux specific definitions
16 *========================================*/
17#define KERNEL_2_4_0        ((LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)) && (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,0)))
18#define KERNEL_BELOW_2_4_0  (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0))
19#define mCurrentPid         (lld_os_get_usermode_process_id())
20#define mCurrentTid         (current->pid)
21#define ERR_RESTART_SYS     (-ERESTARTSYS)
22#define LLD_SEM             struct semaphore
23
24#if 1
25#    define WAIT_Q               wait_queue_head_t
26#else
27#    define WAIT_Q               struct wait_queue *
28#endif
29
30#endif      /* _LLD_KERNEL_H_ */
Note: See TracBrowser for help on using the repository browser.