ddgpeusr.h

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C头文件 代码 · 共 65 行

H
65
字号
/*
 * $Workfile: ddgpeusr.h $
 * $Revision: 2 $
 * $Date: 4/07/00 9:10a $
 * $Modtime: 4/07/00 9:02a $
 * $Author: Sarma $
 *
 * Copyright (c) 1998 National Semiconductor Corporation.
 * All Rights Reserved.
 *
 * This software is the confidential and proprietary information of National 
 * Semiconductor Corporation. ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into
 * with National Semiconductor Corporation.
 * This code is supplied as is.
 *
 */

/*
 *$Log: /CE/Platform/Nsc/Drivers/Video/gxvideo/ddraw/ddgpeusr.h $
 * 
 * 2     4/07/00 9:10a Sarma
 * Removed Cyrix Corporation from the legal/confidentail information. Also
 * added for files not containing this info.
 * 
 *$History: ddgpeusr.h $
 * 
 * *****************  Version 2  *****************
 * User: Sarma        Date: 4/07/00    Time: 9:10a
 * Updated in $/CE/Platform/Nsc/Drivers/Video/gxvideo/ddraw
 * Removed Cyrix Corporation from the legal/confidentail information. Also
 * added for files not containing this info.
 *
*/

#ifdef DD_SUPPORT

#ifndef __GPEDDHALUSER_H__
#define __GPEDDHALUSER_H__

// some macros to help in debugging

#define DEBUGENTER(func)                                        \
    {                                                           \
        DEBUGMSG(1,(TEXT("Entering function %s\r\n"),TEXT(#func)));     \
    }

#define DEBUGLEAVE(func)                                        \
    {                                                           \
        DEBUGMSG(1,(TEXT("Leaving function %s\r\n"),TEXT( #func )));    \
    }


// HARDWARE-SPECIFIC Required #defines
#define IN_VBLANK   InVBlank()
//    ((READ_REG32(pDriverData->RegLinear, DC_TIMING_CFG)) & 0x40000000)
#define IS_BUSY     0
//    ((MM_RW_8 ((IGS5000 *)g_pGPE)->m_pMMIO[0x0011]) & 0x80)
#define IN_DISPLAY   !InVBlank()


#endif //__GPEDDHALUSER_H__
#endif //DD_SUPPORT

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?