ROM的數據,一般是用來檢驗ROM的合法性使用,模擬器也用來檢查並運行ROM的使用。
基本介紹
- 外文名:ROMDATA
- 性質:檢測方法
- 檢測內容:ROM的合法性
- 相關語言:C
ROM的數據,一般是用來檢驗ROM的合法性使用,模擬器也用來檢查並運行ROM的使用。
#define ROMDATA __based( __segname( "_CODE" ) )
……
struct _CPB_FAMILY_SERVICES {
UINT16 Revision; ///< Interface version
// Public Methods.
PF_CPB_IS_SUPPORTED IsCpbSupported; ///< Method: Family specific call to check if CPB is supported.
PF_CPB_INIT EnableCpbOnSocket; ///< Method: Family specific call to enable CPB.
};
UINT16 Revision; ///< Interface version
// Public Methods.
PF_CPB_IS_SUPPORTED IsCpbSupported; ///< Method: Family specific call to check if CPB is supported.
PF_CPB_INIT EnableCpbOnSocket; ///< Method: Family specific call to enable CPB.
};
……
CONST CPB_FAMILY_SERVICES ROMDATA F15TnCpbSupport =
{
0,
F15TnIsCpbSupported,
F15TnInitializeCpb
};
{
0,
F15TnIsCpbSupported,
F15TnInitializeCpb
};