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

Last change on this file since 66 was 66, checked in by megakiss, 11 years ago

키패드 기능 연결

전원키 누르고 리모콘 누르면 학습
CH+ 간격 1초 증가 MAX:15
CH- 간격 1초 감소 MIN :1

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.