⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 platform.h

📁 PNX系列设备驱动 PNX系列设备驱动
💻 H
字号:
/*---------------------------------------------------------------------------- 
COPYRIGHT (c) 1997 by Philips Semiconductors

THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY ONLY BE USED AND COPIED IN 
ACCORDANCE WITH THE TERMS AND CONDITIONS OF SUCH A LICENSE AND WITH THE 
INCLUSION OF THE THIS COPY RIGHT NOTICE. THIS SOFTWARE OR ANY OTHER COPIES 
OF THIS SOFTWARE MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY OTHER
PERSON. THE OWNERSHIP AND TITLE OF THIS SOFTWARE IS NOT TRANSFERRED. 

THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT ANY PRIOR NOTICE
AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY Philips Semiconductor. 

PHILIPS ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF THIS SOFTWARE
ON PLATFORMS OTHER THAN THE ONE ON WHICH THIS SOFTWARE IS FURNISHED.
----------------------------------------------------------------------------*/
/*
	FILE	:	PLATFORM/platform.h

	HISTORY
	970703	Tilakraj Roy	Created

	ABSTRACT
	This file contains the platform specific data structures
	that need to be passed by TMMan.c to the platform specific
	modules.

*/

/*----------------------------------------------------------------------------
          SYSTEM INCLUDE FILES
----------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------
          DRIVER SPECIFIC INCLUDE FILES
----------------------------------------------------------------------------*/
#include "tmtypes.h"

#define	constTMManDC_LOCK_CTL_MASK	0x00000060
#define	constTMManDC_LOCK_CTL_POSITION	5	/* LEFT SHIFT POSITIONS */

#define	constTMManDC_LOCK_CTL_HEN	0x0	/* HOLE ENABLE + PCI_ENABLE */
#define	constTMManDC_LOCK_CTL_HDS	0x1	/* HOLE DISABLE + PCI_ENABLE */
#define	constTMManDC_LOCK_CTL_PDS	0x2 /* HOLE DISABLE + PCI DISABLE */
#define	constTMManDC_LOCK_CTL_RES	0x3	/* RESERVED */


typedef struct tagTMManObject
{
	/* generic part */
	UInt32	DSPNumber;
	UInt8*	SharedMapped;
	UInt32	CPURevision;
	UInt32	HalHandle;
	UInt32	ChannelManagerHandle;
	UInt32	VIntrManagerHandle;
	UInt32	EventManagerHandle;
	UInt32	DebugManagerHandle;
	UInt32	MessageManagerHandle;
	UInt32	MemoryManagerHandle;
	UInt32	NameSpaceManagerHandle;
	UInt32	SGBufferManagerHandle;

	TMManSharedStruct*	SharedData;

	/* OS specific part */

}	TMManObject;

typedef struct taghalParameters
{
    UInt32	TMDeviceVendorID;
	UInt32	TMSubsystemID;
	UInt32	TMClassRevisionID;
    UInt32	BridgeDeviceVendorID;
    UInt32	BridgeSubsystemID;
	UInt32	BridgeClassRevisionID;

	UInt32	MMIOBase;
	UInt32	MMIOLength;
	UInt32	PCIIrq;
	UInt32	TMIrq;
	UInt32	DSPNumber;
	Pointer	SharedData;
	UInt32	SpeculativeLoadFix;
}	halParameters;

⌨️ 快捷键说明

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