Newer
Older
AMI-Aptio-BIOS-Reversed / AmiNetworkPkg / UefiNetworkStack / Common / NetworkStackSetupScreen / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Restructure the repo

NetworkStackSetupScreen

Index Module Size Phase
304 NetworkStackSetupScreen.efi 3,620 bytes (E24h) DXE

Overview

NetworkStackSetupScreen is a small DXE driver that manages the "Network Stack" setup screen configuration variable in the Lenovo HR650X BIOS. On first boot it creates the "NetworkStackVar" UEFI variable with default settings, and at each subsequent boot it reads the existing variable and checks CMOS NV storage to determine the enabled or disabled status of the network stack.

Key Functions

  • NetworkStackEntryPoint -- Main entry point; installs the HII config access protocol
  • NetworkStackExtractConfig -- Returns the current NetworkStackVar configuration
  • NetworkStackRouteConfig -- Processes updates to the network stack configuration
  • NetworkStackCallback -- HII form callback for setup screen interaction
  • NetworkStackInitVariable -- Initializes NetworkStackVar on first boot
  • NetworkStackReadCmos -- Reads CMOS NV storage to determine network stack state

Dependencies

  • EFI_HII_CONFIG_ACCESS_PROTOCOL -- HII config access interface
  • EFI_AMI_BOARD_INFO_PROTOCOL -- AMI board information protocol
  • UEFI Runtime Services -- Variable services for NetworkStackVar

Platform

  • Source: AmiModulePkg/BoardInfo/AmiBoardInfo2.c
  • Architecture: X64 (PE32+)
  • Formats: PE32+, 5 sections (.text, .rdata, .data, section_3, .xdata)
  • SHA256: a755e7b12d3fadefa47684371a6c309fea7f412515187b9d19a500e20fd3229e