TianoCore EDK2 master
|
Go to the source code of this file.
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
Definition in file IpmiNetFnStorage.h.
#define CHANNEL_NUMBER_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId >> 12) & 0x0F) |
Definition at line 767 of file IpmiNetFnStorage.h.
#define IPMI_BIOS_ID 0x18 |
Definition at line 770 of file IpmiNetFnStorage.h.
#define IPMI_CLEAR_SEL_REQUEST_C_CHAR_ASCII 0x43 |
Definition at line 634 of file IpmiNetFnStorage.h.
#define IPMI_CLEAR_SEL_REQUEST_GET_ERASE_STATUS 0x00 |
Definition at line 638 of file IpmiNetFnStorage.h.
#define IPMI_CLEAR_SEL_REQUEST_INITIALIZE_ERASE 0xAA |
Definition at line 637 of file IpmiNetFnStorage.h.
#define IPMI_CLEAR_SEL_REQUEST_L_CHAR_ASCII 0x4C |
Definition at line 635 of file IpmiNetFnStorage.h.
#define IPMI_CLEAR_SEL_REQUEST_R_CHAR_ASCII 0x52 |
Definition at line 636 of file IpmiNetFnStorage.h.
#define IPMI_CLEAR_SEL_RESPONSE_ERASURE_COMPLETED 0x01 |
Definition at line 649 of file IpmiNetFnStorage.h.
#define IPMI_CLEAR_SEL_RESPONSE_ERASURE_IN_PROGRESS 0x00 |
Definition at line 648 of file IpmiNetFnStorage.h.
#define IPMI_COMPLETE_SEL_RECORD 0xFF |
Definition at line 725 of file IpmiNetFnStorage.h.
#define IPMI_DELETE_SEL_ENTRY_RESPONSE_ERASE_IN_PROGRESS 0x81 |
Definition at line 619 of file IpmiNetFnStorage.h.
#define IPMI_DELETE_SEL_ENTRY_RESPONSE_TYPE_UNSUPPORTED 0x80 |
Definition at line 618 of file IpmiNetFnStorage.h.
#define IPMI_EVM_REVISION 0x04 |
Definition at line 769 of file IpmiNetFnStorage.h.
#define IPMI_FORMAT_REV 0x00 |
Definition at line 771 of file IpmiNetFnStorage.h.
#define IPMI_FORMAT_REV1 0x01 |
Definition at line 772 of file IpmiNetFnStorage.h.
#define IPMI_GENERATOR_ID | ( | i, | |
f | |||
) | ((i << 1) | (f << 1) | IPMI_SOFTWARE_ID) |
Definition at line 775 of file IpmiNetFnStorage.h.
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_DELETE_SEL_CMD BIT3 |
Definition at line 479 of file IpmiNetFnStorage.h.
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_GET_SEL_ALLOCATION_INFO_CMD BIT0 |
Definition at line 476 of file IpmiNetFnStorage.h.
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_OVERFLOW_FLAG BIT7 |
Definition at line 480 of file IpmiNetFnStorage.h.
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_PARTIAL_ADD_SEL_ENTRY_CMD BIT2 |
Definition at line 478 of file IpmiNetFnStorage.h.
#define IPMI_GET_SEL_INFO_OPERATION_SUPPORT_RESERVE_SEL_CMD BIT1 |
Definition at line 477 of file IpmiNetFnStorage.h.
#define IPMI_NETFN_STORAGE 0x0A |
Definition at line 24 of file IpmiNetFnStorage.h.
#define IPMI_OEM_SPECIFIC_DATA 0x02 |
Definition at line 779 of file IpmiNetFnStorage.h.
#define IPMI_PLATFORM_VAL_ID 0x01 |
Definition at line 774 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_DIR | ( | EventDirType | ) | (EventDirType >> 7) |
Definition at line 733 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_DIR_ASSERTION_EVENT 0x00 |
Definition at line 734 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_DIR_DEASSERTION_EVENT 0x01 |
Definition at line 735 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE | ( | EventDirType | ) | (EventDirType & 0x7F) |
Definition at line 737 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE_GENERIC_END 0x0C |
Definition at line 744 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE_GENERIC_START 0x02 |
Definition at line 743 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE_OEM_END 0x7F |
Definition at line 747 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE_OEM_START 0x70 |
Definition at line 746 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE_SENSOR_SPECIFIC 0x6F |
Definition at line 745 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE_THRESHOLD 0x01 |
Definition at line 742 of file IpmiNetFnStorage.h.
#define IPMI_SEL_EVENT_TYPE_UNSPECIFIED 0x00 |
Definition at line 741 of file IpmiNetFnStorage.h.
#define IPMI_SEL_OEM_NO_TIME_STAMP_RECORD_END 0xFF |
Definition at line 731 of file IpmiNetFnStorage.h.
#define IPMI_SEL_OEM_NO_TIME_STAMP_RECORD_START 0xE0 |
Definition at line 730 of file IpmiNetFnStorage.h.
#define IPMI_SEL_OEM_TIME_STAMP_RECORD_END 0xDF |
Definition at line 729 of file IpmiNetFnStorage.h.
#define IPMI_SEL_OEM_TIME_STAMP_RECORD_START 0xC0 |
Definition at line 728 of file IpmiNetFnStorage.h.
#define IPMI_SEL_SYSTEM_RECORD 0x02 |
Definition at line 727 of file IpmiNetFnStorage.h.
#define IPMI_SENSOR_SPECIFIC_DATA 0x03 |
Definition at line 780 of file IpmiNetFnStorage.h.
#define IPMI_SENSOR_TYPE_EVENT_CODE_DISCRETE 0x6F |
Definition at line 777 of file IpmiNetFnStorage.h.
#define IPMI_SOFTWARE_ID 0x01 |
Definition at line 773 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_ADD_SDR 0x24 |
Definition at line 386 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_ADD_SEL_ENTRY 0x44 |
Definition at line 570 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_CLEAR_SDR 0x27 |
Definition at line 413 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_CLEAR_SEL 0x47 |
Definition at line 629 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_DELETE_SDR 0x26 |
Definition at line 404 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_DELETE_SEL_ENTRY 0x46 |
Definition at line 608 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_ENTER_SDR_UPDATE_MODE 0x2A |
Definition at line 440 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_EXIT_SDR_UPDATE_MODE 0x2B |
Definition at line 449 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_AUXILLARY_LOG_STATUS 0x5A |
Definition at line 684 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_FRU_INVENTORY_AREAINFO 0x10 |
Definition at line 37 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SDR 0x23 |
Definition at line 166 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SDR_REPOSITORY_ALLOCATION_INFO 0x21 |
Definition at line 144 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SDR_REPOSITORY_INFO 0x20 |
Definition at line 113 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SDR_REPOSITORY_TIME 0x28 |
Definition at line 422 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SEL_ALLOCATION_INFO 0x41 |
Definition at line 495 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SEL_ENTRY 0x43 |
Definition at line 517 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SEL_INFO 0x40 |
Definition at line 471 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SEL_TIME 0x48 |
Definition at line 659 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_GET_SEL_TIME_UTC_OFFSET 0x5C |
Definition at line 702 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_PARTIAL_ADD_SDR 0x25 |
Definition at line 395 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_PARTIAL_ADD_SEL_ENTRY 0x45 |
Definition at line 587 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_READ_FRU_DATA 0x11 |
Definition at line 55 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_RESERVE_SDR_REPOSITORY 0x22 |
Definition at line 153 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_RESERVE_SEL 0x42 |
Definition at line 504 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_RUN_INIT_AGENT 0x2C |
Definition at line 458 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_SET_AUXILLARY_LOG_STATUS 0x5B |
Definition at line 693 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_SET_SDR_REPOSITORY_TIME 0x29 |
Definition at line 431 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_SET_SEL_TIME 0x49 |
Definition at line 672 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_SET_SEL_TIME_UTC_OFFSET 0x5D |
Definition at line 719 of file IpmiNetFnStorage.h.
#define IPMI_STORAGE_WRITE_FRU_DATA 0x12 |
Definition at line 85 of file IpmiNetFnStorage.h.
#define IPMI_SWID_BIOS_RANGE_END 0x0F |
Definition at line 754 of file IpmiNetFnStorage.h.
#define IPMI_SWID_BIOS_RANGE_START 0x00 |
Definition at line 753 of file IpmiNetFnStorage.h.
#define IPMI_SWID_OEM_RANGE_END 0x3F |
Definition at line 760 of file IpmiNetFnStorage.h.
#define IPMI_SWID_OEM_RANGE_START 0x30 |
Definition at line 759 of file IpmiNetFnStorage.h.
#define IPMI_SWID_REMOTE_CONSOLE_RANGE_END 0x46 |
Definition at line 762 of file IpmiNetFnStorage.h.
#define IPMI_SWID_REMOTE_CONSOLE_RANGE_START 0x40 |
Definition at line 761 of file IpmiNetFnStorage.h.
#define IPMI_SWID_SMI_HANDLER_RANGE_END 0x1F |
Definition at line 756 of file IpmiNetFnStorage.h.
#define IPMI_SWID_SMI_HANDLER_RANGE_START 0x10 |
Definition at line 755 of file IpmiNetFnStorage.h.
#define IPMI_SWID_SMS_RANGE_END 0x2F |
Definition at line 758 of file IpmiNetFnStorage.h.
#define IPMI_SWID_SMS_RANGE_START 0x20 |
Definition at line 757 of file IpmiNetFnStorage.h.
#define IPMI_SWID_TERMINAL_REMOTE_CONSOLE_ID 0x47 |
Definition at line 763 of file IpmiNetFnStorage.h.
#define LUN_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId >> 8) & 0x03) |
Definition at line 766 of file IpmiNetFnStorage.h.
#define SLAVE_ADDRESS_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId & 0xFF) >> 1) |
Definition at line 765 of file IpmiNetFnStorage.h.
#define SOFTWARE_ID_FROM_GENERATOR_ID | ( | GeneratorId | ) | ((GeneratorId & 0xFF) >> 1) |
Definition at line 749 of file IpmiNetFnStorage.h.