TianoCore EDK2 master
|
#include <Uefi.h>
#include <Guid/SmBios.h>
#include <IndustryStandard/SmBios.h>
#include <IndustryStandard/Dhcp.h>
#include <Protocol/NetworkInterfaceIdentifier.h>
#include <Protocol/Arp.h>
#include <Protocol/Ip4.h>
#include <Protocol/Ip4Config2.h>
#include <Protocol/Ip6.h>
#include <Protocol/Ip6Config.h>
#include <Protocol/Udp4.h>
#include <Protocol/Udp6.h>
#include <Protocol/Dhcp4.h>
#include <Protocol/Dhcp6.h>
#include <Protocol/Dns6.h>
#include <Protocol/Mtftp4.h>
#include <Protocol/Mtftp6.h>
#include <Protocol/PxeBaseCode.h>
#include <Protocol/LoadFile.h>
#include <Protocol/PxeBaseCodeCallBack.h>
#include <Protocol/ServiceBinding.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/AdapterInformation.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Library/BaseLib.h>
#include <Library/NetLib.h>
#include <Library/DpcLib.h>
#include <Library/DevicePathLib.h>
#include <Library/PcdLib.h>
#include <Library/ReportStatusCodeLib.h>
#include "PxeBcDriver.h"
#include "PxeBcDhcp4.h"
#include "PxeBcDhcp6.h"
#include "PxeBcMtftp.h"
#include "PxeBcBoot.h"
#include "PxeBcSupport.h"
Go to the source code of this file.
Data Structures | |
union | PXEBC_DHCP_PACKET_CACHE |
struct | _PXEBC_PRIVATE_PROTOCOL |
struct | _PXEBC_VIRTUAL_NIC |
struct | _PXEBC_PRIVATE_DATA |
Macros | |
#define | PXEBC_DEFAULT_HOPLIMIT 64 |
#define | PXEBC_DEFAULT_LIFETIME 50000 |
#define | PXEBC_UDP_TIMEOUT 30000000 |
#define | PXEBC_DAD_ADDITIONAL_DELAY 30000000 |
#define | PXEBC_MTFTP_TIMEOUT 4 |
#define | PXEBC_MTFTP_RETRIES 6 |
#define | PXEBC_DHCP_RETRIES 4 |
#define | PXEBC_MENU_MAX_NUM 24 |
#define | PXEBC_OFFER_MAX_NUM 16 |
#define | PXEBC_CHECK_MEDIA_WAITING_TIME EFI_TIMER_PERIOD_SECONDS(20) |
#define | PXEBC_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('P', 'X', 'E', 'P') |
#define | PXEBC_VIRTUAL_NIC_SIGNATURE SIGNATURE_32 ('P', 'X', 'E', 'V') |
#define | PXEBC_PRIVATE_DATA_FROM_PXEBC(a) CR (a, PXEBC_PRIVATE_DATA, PxeBc, PXEBC_PRIVATE_DATA_SIGNATURE) |
#define | PXEBC_PRIVATE_DATA_FROM_ID(a) CR (a, PXEBC_PRIVATE_DATA, Id, PXEBC_PRIVATE_DATA_SIGNATURE) |
#define | PXEBC_VIRTUAL_NIC_FROM_LOADFILE(a) CR (a, PXEBC_VIRTUAL_NIC, LoadFile, PXEBC_VIRTUAL_NIC_SIGNATURE) |
#define | PXE_ENABLED 0x01 |
#define | PXE_DISABLED 0x00 |
Typedefs | |
typedef struct _PXEBC_PRIVATE_DATA | PXEBC_PRIVATE_DATA |
typedef struct _PXEBC_PRIVATE_PROTOCOL | PXEBC_PRIVATE_PROTOCOL |
typedef struct _PXEBC_VIRTUAL_NIC | PXEBC_VIRTUAL_NIC |
Variables | |
EFI_PXE_BASE_CODE_PROTOCOL | gPxeBcProtocolTemplate |
EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL | gPxeBcCallBackTemplate |
EFI_LOAD_FILE_PROTOCOL | gLoadFileProtocolTemplate |
This EFI_PXE_BASE_CODE_PROTOCOL and EFI_LOAD_FILE_PROTOCOL. interfaces declaration.
Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PxeBcImpl.h.
#define PXE_DISABLED 0x00 |
Definition at line 83 of file PxeBcImpl.h.
#define PXE_ENABLED 0x01 |
Definition at line 82 of file PxeBcImpl.h.
#define PXEBC_CHECK_MEDIA_WAITING_TIME EFI_TIMER_PERIOD_SECONDS(20) |
Definition at line 74 of file PxeBcImpl.h.
#define PXEBC_DAD_ADDITIONAL_DELAY 30000000 |
Definition at line 67 of file PxeBcImpl.h.
#define PXEBC_DEFAULT_HOPLIMIT 64 |
Definition at line 64 of file PxeBcImpl.h.
#define PXEBC_DEFAULT_LIFETIME 50000 |
Definition at line 65 of file PxeBcImpl.h.
#define PXEBC_DHCP_RETRIES 4 |
Definition at line 70 of file PxeBcImpl.h.
#define PXEBC_MENU_MAX_NUM 24 |
Definition at line 71 of file PxeBcImpl.h.
#define PXEBC_MTFTP_RETRIES 6 |
Definition at line 69 of file PxeBcImpl.h.
#define PXEBC_MTFTP_TIMEOUT 4 |
Definition at line 68 of file PxeBcImpl.h.
#define PXEBC_OFFER_MAX_NUM 16 |
Definition at line 72 of file PxeBcImpl.h.
#define PXEBC_PRIVATE_DATA_FROM_ID | ( | a | ) | CR (a, PXEBC_PRIVATE_DATA, Id, PXEBC_PRIVATE_DATA_SIGNATURE) |
Definition at line 79 of file PxeBcImpl.h.
#define PXEBC_PRIVATE_DATA_FROM_PXEBC | ( | a | ) | CR (a, PXEBC_PRIVATE_DATA, PxeBc, PXEBC_PRIVATE_DATA_SIGNATURE) |
Definition at line 78 of file PxeBcImpl.h.
#define PXEBC_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('P', 'X', 'E', 'P') |
Definition at line 76 of file PxeBcImpl.h.
#define PXEBC_UDP_TIMEOUT 30000000 |
Definition at line 66 of file PxeBcImpl.h.
#define PXEBC_VIRTUAL_NIC_FROM_LOADFILE | ( | a | ) | CR (a, PXEBC_VIRTUAL_NIC, LoadFile, PXEBC_VIRTUAL_NIC_SIGNATURE) |
Definition at line 80 of file PxeBcImpl.h.
#define PXEBC_VIRTUAL_NIC_SIGNATURE SIGNATURE_32 ('P', 'X', 'E', 'V') |
Definition at line 77 of file PxeBcImpl.h.
typedef struct _PXEBC_PRIVATE_DATA PXEBC_PRIVATE_DATA |
Definition at line 53 of file PxeBcImpl.h.
typedef struct _PXEBC_PRIVATE_PROTOCOL PXEBC_PRIVATE_PROTOCOL |
Definition at line 54 of file PxeBcImpl.h.
typedef struct _PXEBC_VIRTUAL_NIC PXEBC_VIRTUAL_NIC |
Definition at line 55 of file PxeBcImpl.h.
|
extern |
Definition at line 2446 of file PxeBcImpl.c.
|
extern |
Definition at line 2319 of file PxeBcImpl.c.
|
extern |
Definition at line 2210 of file PxeBcImpl.c.