mirror of https://github.com/acidanthera/audk.git
Move common smbus structure from Smbus PPI to Industry Standard Smbus.h shared between Smbus PPI and Protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6937 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2cf14c7c93
commit
27a57d4735
|
@ -41,6 +41,19 @@ typedef struct {
|
||||||
UINTN SmbusDeviceAddress : 7;
|
UINTN SmbusDeviceAddress : 7;
|
||||||
} EFI_SMBUS_DEVICE_ADDRESS;
|
} EFI_SMBUS_DEVICE_ADDRESS;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
///
|
||||||
|
/// The SMBUS hardware address to which the SMBUS device is preassigned or
|
||||||
|
/// allocated. Type EFI_SMBUS_DEVICE_ADDRESS is defined in EFI_PEI_SMBUS2_PPI.Execute().
|
||||||
|
///
|
||||||
|
EFI_SMBUS_DEVICE_ADDRESS SmbusDeviceAddress;
|
||||||
|
///
|
||||||
|
/// The SMBUS Unique Device Identifier (UDID) as defined in EFI_SMBUS_UDID.
|
||||||
|
/// Type EFI_SMBUS_UDID is defined in EFI_PEI_SMBUS2_PPI.ArpDevice().
|
||||||
|
///
|
||||||
|
EFI_SMBUS_UDID SmbusDeviceUdid;
|
||||||
|
} EFI_SMBUS_DEVICE_MAP;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Smbus Operations
|
/// Smbus Operations
|
||||||
///
|
///
|
||||||
|
|
|
@ -115,20 +115,6 @@ EFI_STATUS
|
||||||
IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
|
IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
///
|
|
||||||
/// The SMBUS hardware address to which the SMBUS device is preassigned or
|
|
||||||
/// allocated. Type EFI_SMBUS_DEVICE_ADDRESS is defined in EFI_PEI_SMBUS2_PPI.Execute().
|
|
||||||
///
|
|
||||||
EFI_SMBUS_DEVICE_ADDRESS SmbusDeviceAddress;
|
|
||||||
///
|
|
||||||
/// The SMBUS Unique Device Identifier (UDID) as defined in EFI_SMBUS_UDID.
|
|
||||||
/// Type EFI_SMBUS_UDID is defined in EFI_PEI_SMBUS2_PPI.ArpDevice().
|
|
||||||
///
|
|
||||||
EFI_SMBUS_UDID SmbusDeviceUdid;
|
|
||||||
} EFI_SMBUS_DEVICE_MAP;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The GetArpMap() function returns the mapping of all the SMBus devices
|
The GetArpMap() function returns the mapping of all the SMBus devices
|
||||||
that are enumerated by the SMBus host driver.
|
that are enumerated by the SMBus host driver.
|
||||||
|
|
Loading…
Reference in New Issue