Newer
Older
AMI-Aptio-BIOS-Reversed / Ip6BmcLanConfig / Ip6BmcLanConfig.md
@Ajax Dong Ajax Dong 2 days ago 2 KB Init

Ip6BmcLanConfig

Function Table

Address Name Description
ReadUnaligned64
StrLen
AsciiStrLen
AsciiStrnLenS
HexCharToInt
AsciiStrHexToUint64S
DebugPrint
DebugAssert
FreePool
IsHobGuidMatch
IpmiSendCommand
IpmiCheckConfigurationStatus
IpmiSetLanConfig
IpmiSetLanConfigParams
IpmiSetStaticIpv6Address
IpmiSetStaticRouterIpv6Address
StrToIp6Addr
ConfigIpv6Address
GetLanChannelNumber
DriverEntryPoint
_ModuleEntryPoint
Global data
IPMI Transport Protocol interface pointer (located via gBS->LocateProtocol)
Debug output protocol pointer (lazy-initialized)
PCD protocol pointer (lazy-initialized)
HOB list pointer (lazy-initialized from System Table)
Memory operations
Src8 = (UINT8 *)Source + Length - 1;
No overlap copy forward
CopyMem (Destination, Source, Length);
Library helpers
Debug output
Check if we are running in SMM (or a restricted context) by probing CMOS.
if **((IoRead8 (0x71) > 3) (IoRead8 (0x71) == 0 &&**
HOB (Hand-Off Block) helpers
PCD Protocol
IPMI Helpers
Validate leading zeros
if (HexValue != 0) {
Main driver logic
Status = gBS->LocateProtocol (
SetupSize = 1072;
if (gIpmiTransport != NULL) {
if (Lan1Channel != 0) {
if (Lan2Channel != 0) {
Standard UEFI prologue: save image handle and system table
gImageHandle = ImageHandle;
Initialize HOB list (must happen before any HOB accesses)
GetHobList ();
Run the main driver logic
return DriverEntryPoint ();

Generated by HR650X BIOS Decompilation Project