📄 sicommon_amcc.h
字号:
///////////////////////////////////////////////////////////////////////////////
// sicommon_amcc.h
//
// Description:
// Common hardware access routines for AMCC. These calls are AMCC specific.
//
// Revision History:
// 2002-03-04: AV & LEY
// Created.
// 2002-07-04: mik
// Renamed SI_OpenDriver to SI_AMCC_OpenDriver. (conflicts w/ PLX)
// 2002-10-07: mik
// Passthrough read/write parameter order is now
// region, count, offset, data.
///////////////////////////////////////////////////////////////////////////////
#include "sicommon_amcc_types.h"
#include "amccdef.h" // AMCC register definitions
#include "../../common_ddk/sierrors.h" // error codes
///////////////////////////////////////////////////////////////////////////////
// Begin: Common to all AMCC devices
INT32 SI_AMCC_OpenDriver( UINT32 board, PAMCCDevice pAMCCDev );
INT32 SI_AMCC_CloseDriver( PAMCCDevice pAMCCDev );
INT32 SI_AMCC_ReleaseDirectAccessAddr
(
PAMCCDevice pAMCCDev
);
INT32 SI_AMCC_ReadPCI_ConfSpace
(
PAMCCDevice pAMCCDev,
UINT32 count, UINT32 offset, UINT32 *data
);
INT32 SI_AMCC_ReadPCI_NVWord
(
PAMCCDevice pAMCCDev,
UINT32 count, UINT32 addrNVRam, UINT32 *data
);
INT32 SI_AMCC_WritePCI_NVWord
(
PAMCCDevice pAMCCDev,
UINT32 count, UINT32 addrNVRam, UINT32 *data
);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -