Tom Joseph | d64a1dd | 2020-06-23 14:30:37 +0530 | [diff] [blame] | 1 | #ifndef ENTITY_H
|
| 2 | #define ENTITY_H
|
| 3 |
|
| 4 | #ifdef __cplusplus
|
| 5 | extern "C" {
|
| 6 | #endif
|
| 7 |
|
| 8 | /** @brief PLDM Entity ID Codes in DSP0249_1.1.0 specification
|
| 9 | */
|
| 10 | enum pldm_entity_id_codes {
|
| 11 | PLDM_ENTITY_UNSPECIFIED = 0,
|
| 12 | PLDM_ENTITY_OTHER = 1,
|
| 13 |
|
| 14 | /* Miscellaneous Entities */
|
| 15 | PLDM_ENTITY_NETWORK = 2,
|
| 16 | PLDM_ENTITY_GROUP = 3,
|
| 17 | PLDM_ENTITY_REMOTE_MGMT_COMM_DEVICE = 4,
|
| 18 | PLDM_ENTITY_EXTERNAL_ENVIRONMENT = 5,
|
| 19 | PLDM_ENTITY_COMM_CHANNEL = 6,
|
| 20 | PLDM_ENTITY_TERMINUS = 7,
|
| 21 | PLDM_ENTITY_PLATFORM_EVENT_LOG = 8,
|
| 22 |
|
| 23 | /* Human Interface Entities */
|
| 24 | PLDM_ENTITY_KEYPAD = 15,
|
| 25 | PLDM_ENTITY_SWITCH = 16,
|
| 26 | PLDM_ENTITY_PUSHBUTTON = 17,
|
| 27 | PLDM_ENTITY_DISPLAY = 18,
|
| 28 | PLDM_ENTITY_INDICATOR = 19,
|
| 29 |
|
| 30 | /* Software/Firmware Entities */
|
| 31 | PLDM_ENTITY_SYS_MGMT_SW = 30,
|
| 32 | PLDM_ENTITY_SYS_FIRMWARE = 31,
|
| 33 | PLDM_ENTITY_OPERATING_SYS = 32,
|
| 34 | PLDM_ENTITY_VIRTUAL_MACHINE_MANAGER = 33,
|
| 35 | PLDM_ENTITY_OS_LOADER = 34,
|
| 36 | PLDM_ENTITY_DEVICE_DRIVER = 35,
|
| 37 | PLDM_ENTITY_MGMT_CONTROLLER_FW = 36,
|
| 38 |
|
| 39 | /* Chassis/Enclosure Entities */
|
| 40 | PLDM_ENTITY_SYSTEM_CHASSIS = 45,
|
| 41 | PLDM_ENTITY_SUB_CHASSIS = 46,
|
| 42 | PLDM_ENTITY_DISK_DRIVE_BAY = 47,
|
| 43 | PLDM_ENTITY_PERIPHERAL_BAY = 48,
|
| 44 | PLDM_ENTITY_DEVICE_BAY = 49,
|
| 45 | PLDM_ENTITY_DOOR = 50,
|
| 46 | PLDM_ENTITY_ACCESS_PANEL = 51,
|
| 47 | PLDM_ENTITY_COVER = 52,
|
| 48 |
|
| 49 | /* Board/Card/Module Entities */
|
| 50 | PLDM_ENTITY_BOARD = 60,
|
| 51 | PLDM_ENTITY_CARD = 61,
|
| 52 | PLDM_ENTITY_MODULE = 62,
|
| 53 | PLDM_ENTITY_SYS_MGMT_MODULE = 63,
|
| 54 | PLDM_ENTITY_SYS_BOARD = 64,
|
| 55 | PLDM_ENTITY_MEMORY_BOARD = 65,
|
| 56 | PLDM_ENTITY_MEMORY_MODULE = 66,
|
| 57 | PLDM_ENTITY_PROC_MODULE = 67,
|
| 58 | PLDM_ENTITY_ADD_IN_CARD = 68,
|
| 59 | PLDM_ENTITY_CHASSIS_FRONT_PANEL_BOARD = 69,
|
| 60 | PLDM_ENTITY_BACK_PANEL_BOARD = 70,
|
| 61 | PLDM_ENTITY_POWER_MGMT = 71,
|
| 62 | PLDM_ENTITY_POWER_SYS_BOARD = 72,
|
| 63 | PLDM_ENTITY_DRIVE_BACKPLANE = 73,
|
| 64 | PLDM_ENTITY_SYS_INTERNAL_EXPANSION_BOARD = 74,
|
| 65 | PLDM_ENTITY_OTHER_SYS_BOARD = 75,
|
| 66 | PLDM_ENTITY_CHASSIS_BACK_PANEL_BOARD = 76,
|
| 67 | PLDM_ENTITY_PROCESSING_BLADE = 77,
|
| 68 | PLDM_ENTITY_CONNECTIVITY_SWITCH = 78,
|
| 69 | PLDM_ENTITY_PROC_MEMORY_MODULE = 79,
|
| 70 | PLDM_ENTITY_IO_MODULE = 80,
|
| 71 | PLDM_ENTITY_PROC_IO_MODULE = 81,
|
| 72 |
|
| 73 | /* Cooling Entities */
|
| 74 | PLDM_ENTITY_COOLING_DEVICE = 90,
|
| 75 | PLDM_ENTITY_COOLING_SUBSYSTEM = 91,
|
| 76 | PLDM_ENTITY_COOLING_UNIT = 92,
|
| 77 | PLDM_ENTITY_FAN = 93,
|
| 78 | PLDM_ENTITY_PELTIER_COOLING_DEVICE = 94,
|
| 79 | PLDM_ENTITY_LIQUID_COOLING_DEVICE = 95,
|
| 80 | PLDM_ENTITY_LIQUID_COOLING_SUBSYSTEM = 96,
|
| 81 |
|
| 82 | /* Storage Device Entities */
|
| 83 | PLDM_ENTITY_OTHER_STORAGE_DEVICE = 105,
|
| 84 | PLDM_ENTITY_FLOPPY_DRIVE = 106,
|
| 85 | PLDM_ENTITY_FIXED_DISK_HARD_DRIVE = 107,
|
| 86 | PLDM_ENTITY_CD_DRIVE = 108,
|
| 87 | PLDM_ENTITY_CD_DVD_DRIVE = 109,
|
| 88 | PLDM_ENTITY_OTHER_SILICON_STORAGE_DEVICE = 110,
|
| 89 | PLDM_ENTITY_SOLID_STATE_SRIVE = 111,
|
| 90 |
|
| 91 | /* Power Entities */
|
| 92 | PLDM_ENTITY_POWER_SUPPLY = 120,
|
| 93 | PLDM_ENTITY_BATTERY = 121,
|
| 94 | PLDM_ENTITY_SUPER_CAPACITOR = 122,
|
| 95 | PLDM_ENTITY_POWER_CONVERTER = 123,
|
| 96 | PLDM_ENTITY_DC_DC_CONVERTER = 124,
|
| 97 | PLDM_ENTITY_AC_MAINS_POWER_SUPPLY = 125,
|
| 98 | PLDM_ENTITY_DC_MAINS_POWER_SUPPLY = 126,
|
| 99 |
|
| 100 | /* Chip Entities */
|
| 101 | PLDM_ENTITY_PROC = 135,
|
| 102 | PLDM_ENTITY_CHIPSET_COMPONENT = 136,
|
| 103 | PLDM_ENTITY_MGMT_CONTROLLER = 137,
|
| 104 | PLDM_ENTITY_PERIPHERAL_CONTROLLER = 138,
|
| 105 | PLDM_ENTITY_SEEPROM = 139,
|
| 106 | PLDM_ENTITY_NVRAM_CHIP = 140,
|
| 107 | PLDM_ENTITY_FLASH_MEMORY_CHIP = 141,
|
| 108 | PLDM_ENTITY_MEMORY_CHIP = 142,
|
| 109 | PLDM_ENTITY_MEMORY_CONTROLLER = 143,
|
| 110 | PLDM_ENTITY_NETWORK_CONTROLLER = 144,
|
| 111 | PLDM_ENTITY_IO_CONTROLLER = 145,
|
| 112 | PLDM_ENTITY_SOUTH_BRIDGE = 146,
|
| 113 | PLDM_ENTITY_REAL_TIME_CLOCK = 147,
|
Manojkiran Eda | afbdb6d | 2021-05-27 17:19:51 +0530 | [diff] [blame] | 114 | PLDM_ENTITY_FPGA_CPLD_DEVICE = 148,
|
Tom Joseph | d64a1dd | 2020-06-23 14:30:37 +0530 | [diff] [blame] | 115 | /* Bus Entities */
|
| 116 | PLDM_ENTITY_OTHER_BUS = 160,
|
| 117 | PLDM_ENTITY_SYS_BUS = 161,
|
| 118 | PLDM_ENTITY_I2C_BUS = 162,
|
| 119 | PLDM_ENTITY_SMBUS_BUS = 163,
|
| 120 | PLDM_ENTITY_SPI_BUS = 164,
|
| 121 | PLDM_ENTITY_PCI_BUS = 165,
|
| 122 | PLDM_ENTITY_PCI_EXPRESS_BUS = 166,
|
| 123 | PLDM_ENTITY_PECI_BUS = 167,
|
| 124 | PLDM_ENTITY_LPC_BUS = 168,
|
| 125 | PLDM_ENTITY_USB_BUS = 169,
|
| 126 | PLDM_ENTITY_FIREWIRE_BUS = 170,
|
| 127 | PLDM_ENTITY_SCSI_BUS = 171,
|
| 128 | PLDM_ENTITY_SATA_SAS_BUS = 172,
|
| 129 | PLDM_ENTITY_PROC_FRONT_SIDE_BUS = 173,
|
| 130 | PLDM_ENTITY_INTER_PROC_BUS = 174,
|
| 131 |
|
| 132 | /* Connectors/Cables */
|
| 133 | PLDM_ENTITY_CONNECTOR = 185,
|
| 134 | PLDM_ENTITY_SLOT = 186,
|
| 135 | PLDM_ENTITY_CABLE = 187,
|
| 136 | PLDM_ENTITY_INTERCONNECT = 188,
|
| 137 | PLDM_ENTITY_PLUG = 189,
|
| 138 | PLDM_ENTITY_SOCKET = 190,
|
Pavithra Barithaya | 47180ac | 2020-10-28 02:12:05 -0500 | [diff] [blame] | 139 |
|
| 140 | /* Logical */
|
| 141 | PLDM_ENTITY_SYSTEM_LOGICAL = 11521,
|
Sampa Misra | aea5dde | 2020-08-31 08:33:47 -0500 | [diff] [blame] | 142 |
|
| 143 | /* OEM ranges */
|
| 144 | PLDM_OEM_ENTITY_TYPE_START = 24576,
|
| 145 | PLDM_OEM_ENTITY_TYPE_END = 32767,
|
Tom Joseph | d64a1dd | 2020-06-23 14:30:37 +0530 | [diff] [blame] | 146 | };
|
| 147 |
|
| 148 | #ifdef __cplusplus
|
| 149 | }
|
| 150 | #endif
|
| 151 |
|
| 152 | #endif /* ENTITY_H */
|