MdePkg[all]
1.08
|
IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
This file contains all NetFn Storage commands, including: FRU Inventory Commands (Chapter 34) SDR Repository (Chapter 33) System Event Log(SEL) Commands (Chapter 31) SEL Record Formats (Chapter 32)
See IPMI specification, Appendix G, Command Assignments and Appendix H, Sub-function Assignments.
Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define CHANNEL_NUMBER_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId >> 12) & 0x0F) |
#define IPMI_BIOS_ID 0x18 |
#define IPMI_CLEAR_SEL_REQUEST_C_CHAR_ASCII 0x43 |
#define IPMI_CLEAR_SEL_REQUEST_GET_ERASE_STATUS 0x00 |
#define IPMI_CLEAR_SEL_REQUEST_INITIALIZE_ERASE 0xAA |
#define IPMI_CLEAR_SEL_REQUEST_L_CHAR_ASCII 0x4C |
#define IPMI_CLEAR_SEL_REQUEST_R_CHAR_ASCII 0x52 |
#define IPMI_CLEAR_SEL_RESPONSE_ERASURE_COMPLETED 0x01 |
#define IPMI_CLEAR_SEL_RESPONSE_ERASURE_IN_PROGRESS 0x00 |
#define IPMI_COMPLETE_SEL_RECORD 0xFF |
#define IPMI_DELETE_SEL_ENTRY_RESPONSE_ERASE_IN_PROGRESS 0x81 |
#define IPMI_DELETE_SEL_ENTRY_RESPONSE_TYPE_UNSUPPORTED 0x80 |
#define IPMI_EVM_REVISION 0x04 |
#define IPMI_FORMAT_REV 0x00 |
#define IPMI_FORMAT_REV1 0x01 |
#define IPMI_GENERATOR_ID | ( | i, | |
f | |||
) | ((i << 1) | (f << 1) | IPMI_SOFTWARE_ID) |
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_DELETE_SEL_CMD BIT3 |
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_GET_SEL_ALLOCATION_INFO_CMD BIT0 |
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_OVERFLOW_FLAG BIT7 |
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_PARTIAL_ADD_SEL_ENTRY_CMD BIT2 |
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_RESERVE_SEL_CMD BIT1 |
#define IPMI_NETFN_STORAGE 0x0A |
#define IPMI_OEM_SPECIFIC_DATA 0x02 |
#define IPMI_PLATFORM_VAL_ID 0x01 |
#define IPMI_SEL_EVENT_DIR | ( | EventDirType | ) | (EventDirType >> 7) |
#define IPMI_SEL_EVENT_DIR_ASSERTION_EVENT 0x00 |
#define IPMI_SEL_EVENT_DIR_DEASSERTION_EVENT 0x01 |
#define IPMI_SEL_EVENT_TYPE | ( | EventDirType | ) | (EventDirType & 0x7F) |
#define IPMI_SEL_EVENT_TYPE_GENERIC_END 0x0C |
#define IPMI_SEL_EVENT_TYPE_GENERIC_START 0x02 |
#define IPMI_SEL_EVENT_TYPE_OEM_END 0x7F |
#define IPMI_SEL_EVENT_TYPE_OEM_START 0x70 |
#define IPMI_SEL_EVENT_TYPE_SENSOR_SPECIFIC 0x6F |
#define IPMI_SEL_EVENT_TYPE_THRESHOLD 0x01 |
#define IPMI_SEL_EVENT_TYPE_UNSPECIFIED 0x00 |
#define IPMI_SEL_OEM_NO_TIME_STAMP_RECORD_END 0xFF |
#define IPMI_SEL_OEM_NO_TIME_STAMP_RECORD_START 0xE0 |
#define IPMI_SEL_OEM_TIME_STAMP_RECORD_END 0xDF |
#define IPMI_SEL_OEM_TIME_STAMP_RECORD_START 0xC0 |
#define IPMI_SEL_SYSTEM_RECORD 0x02 |
#define IPMI_SENSOR_SPECIFIC_DATA 0x03 |
#define IPMI_SENSOR_TYPE_EVENT_CODE_DISCRETE 0x6F |
#define IPMI_SOFTWARE_ID 0x01 |
#define IPMI_STORAGE_ADD_SDR 0x24 |
#define IPMI_STORAGE_ADD_SEL_ENTRY 0x44 |
#define IPMI_STORAGE_CLEAR_SDR 0x27 |
#define IPMI_STORAGE_CLEAR_SEL 0x47 |
#define IPMI_STORAGE_DELETE_SDR 0x26 |
#define IPMI_STORAGE_DELETE_SEL_ENTRY 0x46 |
#define IPMI_STORAGE_ENTER_SDR_UPDATE_MODE 0x2A |
#define IPMI_STORAGE_EXIT_SDR_UPDATE_MODE 0x2B |
#define IPMI_STORAGE_GET_AUXILLARY_LOG_STATUS 0x5A |
#define IPMI_STORAGE_GET_FRU_INVENTORY_AREAINFO 0x10 |
#define IPMI_STORAGE_GET_SDR 0x23 |
#define IPMI_STORAGE_GET_SDR_REPOSITORY_ALLOCATION_INFO 0x21 |
#define IPMI_STORAGE_GET_SDR_REPOSITORY_INFO 0x20 |
#define IPMI_STORAGE_GET_SDR_REPOSITORY_TIME 0x28 |
#define IPMI_STORAGE_GET_SEL_ALLOCATION_INFO 0x41 |
#define IPMI_STORAGE_GET_SEL_ENTRY 0x43 |
#define IPMI_STORAGE_GET_SEL_INFO 0x40 |
#define IPMI_STORAGE_GET_SEL_TIME 0x48 |
#define IPMI_STORAGE_GET_SEL_TIME_UTC_OFFSET 0x5C |
#define IPMI_STORAGE_PARTIAL_ADD_SDR 0x25 |
#define IPMI_STORAGE_PARTIAL_ADD_SEL_ENTRY 0x45 |
#define IPMI_STORAGE_READ_FRU_DATA 0x11 |
#define IPMI_STORAGE_RESERVE_SDR_REPOSITORY 0x22 |
#define IPMI_STORAGE_RESERVE_SEL 0x42 |
#define IPMI_STORAGE_RUN_INIT_AGENT 0x2C |
#define IPMI_STORAGE_SET_AUXILLARY_LOG_STATUS 0x5B |
#define IPMI_STORAGE_SET_SDR_REPOSITORY_TIME 0x29 |
#define IPMI_STORAGE_SET_SEL_TIME 0x49 |
#define IPMI_STORAGE_SET_SEL_TIME_UTC_OFFSET 0x5D |
#define IPMI_STORAGE_WRITE_FRU_DATA 0x12 |
#define IPMI_SWID_BIOS_RANGE_END 0x0F |
#define IPMI_SWID_BIOS_RANGE_START 0x00 |
#define IPMI_SWID_OEM_RANGE_END 0x3F |
#define IPMI_SWID_OEM_RANGE_START 0x30 |
#define IPMI_SWID_REMOTE_CONSOLE_RANGE_END 0x46 |
#define IPMI_SWID_REMOTE_CONSOLE_RANGE_START 0x40 |
#define IPMI_SWID_SMI_HANDLER_RANGE_END 0x1F |
#define IPMI_SWID_SMI_HANDLER_RANGE_START 0x10 |
#define IPMI_SWID_SMS_RANGE_END 0x2F |
#define IPMI_SWID_SMS_RANGE_START 0x20 |
#define IPMI_SWID_TERMINAL_REMOTE_CONSOLE_ID 0x47 |
#define LUN_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId >> 8) & 0x03) |
#define SLAVE_ADDRESS_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId & 0xFF) >> 1) |
#define SOFTWARE_ID_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId & 0xFF) >> 1) |