?? common.h
字號:
/*
//*************************************************************************
//
// P H I L I P S P R O P R I E T A R Y
//
// COPYRIGHT (c) 2000 BY PHILIPS SINGAPORE.
// -- ALL RIGHTS RESERVED --
//
// File Name: Common.H
// Author: ZhenYu Zhang
// Created: Jun. 8, 2000
// Modified:
// Revision: 0.0
//
//*************************************************************************
//
//*************************************************************************
*/
#ifndef __COMMON_H__
#define __COMMON_H__
#include "BasicTyp.h"
/*
//*************************************************************************
// macros
//*************************************************************************
*/
#define SWAP(x) (x)
#define MSB(x) (((x) >> 8) & 0xFF)
#define LSB(x) ((x) & 0xFF)
#define RaiseIRQL() disable()
#define LowerIRQL() enable()
#define NULL_LENGTH 0xff
/*
//*************************************************************************
// structure and union definitions
//*************************************************************************
*/
typedef union _1161FLAGS {
struct _1161FSM_FLAGS
{
IRQL_1 UCHAR verbose : 1; /* Debug info*/
IRQL_1 UCHAR dbg : 1;
IRQL_0 UCHAR configuration : 1;
IRQL_0 UCHAR remote_wakeup : 1;
IRQL_1 UCHAR timer : 1;
IRQL_1 UCHAR Reserved30 : 3;
} bits;
ULONG value;
} BFLAGS1161;
// ******************************************************************************
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -