1 /* 2 * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 * Description: common logging producer interface - need to change name of log.h in all the protocol core files 15 */ 16 17 #ifndef _LOG_DEF_PF_H_ 18 #define _LOG_DEF_PF_H_ 19 20 typedef enum { 21 // Platform 0-1024 22 SECURITY_MAIN_C = 0, 23 APP_OS_INIT_C, 24 THREAD_INIT_C, 25 SEC_OS_INIT_C, 26 LOG_OAM_MSG_C, 27 LOG_OML_EXCEPTION_C, 28 BACKTRACE_C_NOT_USED_C, 29 PANIC_C, 30 RUNTIME_MONITOR_C, 31 LOS_TASK_C, 32 LOG_C, 33 LOW_POWER_CONTROL_C, 34 CPU_UTILS_C, 35 HAL_PVSENSOR_C, 36 PMU_CMU_C, 37 GPIO_C, 38 IR_C, 39 CPU_TRACE_C, 40 XIP_C, 41 HAL_LPC_CORE_C, 42 MPU_C, 43 HAL_CPU_HIFI_C, 44 IPC_C, 45 FIRMWARE_VERSION_C, 46 HAL_ADC_C, 47 PATCH_C, 48 PMU_INTERRUPT_C, 49 HAL_CPU_CORE_C, 50 COMMU_INTERFACE_C, 51 EPMU_COUL_DRV_C, 52 EPMU_COUL_CORE_C, 53 EPMU_C, 54 GNSS_OS_INIT_C, 55 HAL_IPC_IRQ_C, 56 PAL_LPM_C, 57 PRESERVE_C, 58 LITEOS_INFO_C, 59 CLOCKS_CORE_C, 60 SYSTEM_INFO_C, 61 CPU_LOAD_C, 62 PMU_C, 63 LOS_STATUS_C, 64 GNSS_PMU_C, 65 PATCH_RISCV_C, 66 PM_CONTROL_C, 67 BLE_HID_SERVER_C, 68 MAIN_C, 69 DIAG_DFX_C, 70 LOG_OAM_REG_QUERY_C, 71 LOG_BUFFER_READER_C, 72 LOG_UART_C, 73 UPG_AB_C, 74 UPG_ALLOC_C, 75 UPG_COMMON_C, 76 UPG_VERIFY_C, 77 UPG_LZMADEC_C, 78 UPG_PATCH_C, 79 UPG_PROCESS_C, 80 UPG_RESOURCE_C, 81 UPG_UPGRADE_C, 82 UPG_STORAGE_C, 83 UPG_COMMON_PORTING_C, 84 UPG_BACKUP_C, 85 PF_FILE_ID_MAX = 1024, 86 } log_file_list_enum_pf_app_t; 87 #endif 88