📄 r3com.h
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
/****************************************************************************\
*
* Module Name M3COM.H (Common header file for GCO & GDOs)
* Project LT Rage Pro/ Rage Mobility/ Rage XC/ Rage XL
*
* Description Common header file for GCO & GDOs
*
* (c) 1998-2000 ATI Technologies Inc. (unpublished)
*
* All rights reserved. This notice is intended as a precaution against
* inadvertent publication and does not imply publication or any waiver
* of confidentiality. The year included in the foregoing notice is the
* year of creation of the work.
*
* LOG OF CHANGES
*
*
\****************************************************************************/
#ifndef _M3COM_H
#define _M3COM_H
#define MAX_NO_OF_LCD_RESOLUTION_TIMING 20
#pragma pack(1)
typedef struct _LVDS_PANEL_INFO
{
USHORT usHorizontalSize; // in pixels
USHORT usVerticalSize; // in lines
USHORT usFlatPanelType;
UCHAR ucPanelRefreshRateData;
USHORT usSupportedRefreshRate;
UCHAR ucXBufSize;
USHORT usOffDelay;
USHORT usBackLightDelay;
USHORT ausModeTableOffset[MAX_NO_OF_LCD_RESOLUTION_TIMING];
} LVDS_PANEL_INFO, FAR* LPLVDS_PANEL_INFO;
typedef struct _BIOS_PANEL_INFORMATION_TABLE
{
UCHAR ucPanelIdentification; // (0x00 - 0x1F)
UCHAR ucPanelIDString[24];
USHORT usHorizontalSize; // in pixels
USHORT usVerticalSize; // in lines
USHORT usFlatPanelType;
UCHAR ucRedBitsPerPrimary;
UCHAR ucGreenBitsPerPrimary;
UCHAR ucBlueBitsPerPrimary;
UCHAR ucReservedBitsPerPrimary;
ULONG ulPtrToOffScreenMemoryRequired; //for frame buffer
ULONG ulPtrToReservedOffScreenMemory; //for frame buffer
UCHAR ucReserved[5];
USHORT usBackLightDelay;
USHORT usOffDelay;
UCHAR ucSpreadSpectrumControlType;
UCHAR ucSpreadSpectrumLevel;
UCHAR ucBackLightLevel;
UCHAR ucBiasLevel;
UCHAR ucPowerSequenceDelay;
ULONG ulPanelData;
UCHAR ucPanelRefreshRateData;
USHORT usSupportedRefreshRate;
USHORT usModeTableOffset[MAX_NO_OF_LCD_RESOLUTION_TIMING];
}BIOS_PANEL_INFORMATION_TABLE, FAR *LPBIOS_PANEL_INFORMATION_TABLE;
#define BIOS_HEADER_TABLE_OFFSET 0x48 //ddl16.h
#define HEADER_TABLE_FREQUENCY_TABLE_OFFSET 0x10
#define FREQUENCY_TABLE_MIN_CLOCK_OFFSET 0x2
#define FREQUENCY_TABLE_MAX_CLOCK_OFFSET 0x4
#define FREQUENCY_TABLE_REFERENCE_CLOCK_OFFSET 0x8
#define FREQUENCY_TABLE_CLOCK_DIVIDER_OFFSET 0xA
#pragma pack()
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -