diff options
author | Hao Wu <hao.a.wu@intel.com> | 2015-07-15 03:16:42 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-07-15 03:16:42 +0000 |
commit | 624f017e1756338c89326bc2dd9a2ba07e4ec5bb (patch) | |
tree | e11f3977e081c40253cf2478ac98ed021d445920 /MdePkg/Include/Protocol | |
parent | c8c2815802f335fd6cfe971d984762e479142879 (diff) | |
download | edk2-624f017e1756338c89326bc2dd9a2ba07e4ec5bb.tar.gz edk2-624f017e1756338c89326bc2dd9a2ba07e4ec5bb.tar.bz2 edk2-624f017e1756338c89326bc2dd9a2ba07e4ec5bb.zip |
MdePkg: Add BMC device path definition and its node/text conversion
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17985 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol')
-rw-r--r-- | MdePkg/Include/Protocol/DevicePath.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index a3d6d96bde..631136be08 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -172,6 +172,26 @@ typedef struct { } CONTROLLER_DEVICE_PATH;
///
+/// BMC Device Path SubType.
+///
+#define HW_BMC_DP 0x06
+
+///
+/// BMC Device Path.
+///
+typedef struct {
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ ///
+ /// Interface Type.
+ ///
+ UINT8 InterfaceType;
+ ///
+ /// Base Address.
+ ///
+ UINT8 BaseAddress[8];
+} BMC_DEVICE_PATH;
+
+///
/// ACPI Device Paths.
///
#define ACPI_DEVICE_PATH 0x02
@@ -1186,6 +1206,7 @@ typedef union { VENDOR_DEVICE_PATH Vendor;
CONTROLLER_DEVICE_PATH Controller;
+ BMC_DEVICE_PATH Bmc;
ACPI_HID_DEVICE_PATH Acpi;
ACPI_EXTENDED_HID_DEVICE_PATH ExtendedAcpi;
ACPI_ADR_DEVICE_PATH AcpiAdr;
@@ -1241,6 +1262,7 @@ typedef union { VENDOR_DEVICE_PATH *Vendor;
CONTROLLER_DEVICE_PATH *Controller;
+ BMC_DEVICE_PATH *Bmc;
ACPI_HID_DEVICE_PATH *Acpi;
ACPI_EXTENDED_HID_DEVICE_PATH *ExtendedAcpi;
ACPI_ADR_DEVICE_PATH *AcpiAdr;
|