// ============================================================================= // hal_RegisterYourself // ----------------------------------------------------------------------------- /// This function registers the module itself to HAL so that the version and /// the map accessor are filled. Then, the CSW get version function and the /// CoolWatcher get version command will work. // ============================================================================= PUBLIC VOID hal_RegisterYourself(VOID) { // Put chip name (ID) in the field "number" of the version. g_halMapVersion.number = CHIP_ASIC_ID; hal_MapEngineRegisterModule(HAL_MAP_ID_HAL, &g_halMapVersion, &g_halMapAccess); }
// ============================================================================= // rfd_RegisterYourself // ----------------------------------------------------------------------------- /// This function registers the module itself to HAL so that the version and /// the map accessor are filled. Then, the CSW get version function and the /// CoolWatcher get version command will work. // ============================================================================= PUBLIC VOID rfd_RegisterYourself(VOID) { // Put transceiver name (ID) in the field "number" of the version. g_rfdMapVersion.number = rfd_XcvCalibGetDefault()->palcust.name; hal_MapEngineRegisterModule(HAL_MAP_ID_RFD, &g_rfdMapVersion, &g_rfdMapAccess); }
// ============================================================================= // hal_RegisterYourself // ----------------------------------------------------------------------------- /// This function registers the module itself to HAL so that the version and /// the map accessor are filled. Then, the CSW get version function and the /// CoolWatcher get version command will work. // ============================================================================= PUBLIC VOID hal_RegisterYourself(VOID) { hal_MapEngineRegisterModule(HAL_MAP_ID_HAL, &g_halMapVersion, &g_halMapAccess); }
// ============================================================================= // sx_RegisterYourself // ----------------------------------------------------------------------------- /// This function registers the module itself to HAL so that the version and /// the map accessor are filled. Then, the CSW get version function and the /// CoolWatcher get version command will work. // ============================================================================= PUBLIC VOID sx_RegisterYourself(VOID) { hal_MapEngineRegisterModule(HAL_MAP_ID_SX, &g_sxMapVersion, &g_sxMapAccess); }
// ============================================================================= // dll_RegisterYourself // ----------------------------------------------------------------------------- /// This function registers the module itself to HAL so that the version and /// the map accessor are filled. Then, the CSW get version function and the /// CoolWatcher get version command will work. // ============================================================================= PUBLIC VOID dll_RegisterYourself(VOID) { hal_MapEngineRegisterModule(HAL_MAP_ID_PAL, &g_dllMapVersion, &g_dllMapAccess); dl_envInit(); }
// ============================================================================= // mdi_RegisterYourself // ----------------------------------------------------------------------------- /// This function registers the module itself to HAL so that the version and /// the map accessor are filled. Then, the CSW get version function and the /// CoolWatcher get version command will work. // ============================================================================= PUBLIC VOID mdi_RegisterYourself(VOID) { g_mdiMapVersion.string=MDI_BEIJING_VERSION_STRING; hal_MapEngineRegisterModule(HAL_MAP_ID_MDI, &g_mdiMapVersion, &g_mdiMapAccess); }