NeKernel dev
Loading...
Searching...
No Matches
BootNet.cc File Reference

Functions

STATIC Void bootnet_read_ip_packet (BOOTNET_INTERNET_HEADER inet, BOOTNET_INTERNET_HEADER **inet_out)
EXTERN_C Int32 BootNetModuleMain (Kernel::HEL::BootInfoHeader *handover)

Variables

STATIC EFI_GUID kEfiSimpleProtoGUID = EFI_SIMPLE_NETWORK_PROTOCOL_GUID
STATIC EFI_SIMPLE_NETWORK_PROTOCOLkEfiProtocol = nullptr

Function Documentation

◆ bootnet_read_ip_packet()

STATIC Void bootnet_read_ip_packet ( BOOTNET_INTERNET_HEADER inet,
BOOTNET_INTERNET_HEADER ** inet_out )

Connect to the local BootNet server.

And receive the handshake packet.

Ask for it again since we know the full_size variable now.

◆ BootNetModuleMain()

EXTERN_C Int32 BootNetModuleMain ( Kernel::HEL::BootInfoHeader * handover)

TODO: Program new firmware to EEPROM (if crc and size matches)

Variable Documentation

◆ kEfiProtocol

STATIC EFI_SIMPLE_NETWORK_PROTOCOL* kEfiProtocol = nullptr

◆ kEfiSimpleProtoGUID