Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / ia64 / stand / efi / include / efi_nii.h
blob0d79a1fa7baf470ae4352b2bd519c2fe78a5a215
1 /* $NetBSD: efi_nii.h,v 1.1 2006/04/07 14:21:29 cherry Exp $ */
2 /* $FreeBSD: src/sys/boot/efi/include/efi_nii.h,v 1.2 2002/05/19 03:17:20 marcel Exp $ */
4 #ifndef _EFI_NII_H
5 #define _EFI_NII_H
7 /*++
8 Copyright (c) 2000 Intel Corporation
10 Module name:
11 efi_nii.h
13 Abstract:
15 Revision history:
16 2000-Feb-18 M(f)J GUID updated.
17 Structure order changed for machine word alignment.
18 Added StringId[4] to structure.
20 2000-Feb-14 M(f)J Genesis.
21 --*/
23 #define EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL \
24 { 0xE18541CD, 0xF755, 0x4f73, 0x92, 0x8D, 0x64, 0x3C, 0x8A, 0x79, 0xB2, 0x29 }
26 #define EFI_NETWORK_INTERFACE_IDENTIFIER_INTERFACE_REVISION 0x00010000
28 typedef enum {
29 EfiNetworkInterfaceUndi = 1
30 } EFI_NETWORK_INTERFACE_TYPE;
32 typedef struct {
34 /* Revision of the network interface identifier protocol interface. */
35 UINT64 Revision;
38 * Address of the first byte of the identifying structure for this
39 * network interface. This is set to zero if there is no structure.
40 * For PXE/UNDI this is the first byte of the !PXE structure.
42 UINT64 ID;
45 * Address of the UNrelocated driver/ROM image. This is set
46 * to zero if there is no driver/ROM image.
47 * For 16-bit UNDI, this is the first byte of the option ROM in
48 * upper memory.
49 * For 32/64-bit S/W UNDI, this is the first byte of the EFI ROM
50 * image.
51 * For H/W UNDI, this is set to zero.
53 UINT64 ImageAddr;
56 * Size of the UNrelocated driver/ROM image of this network interface.
57 * This is set to zero if there is no driver/ROM image.
59 UINT32 ImageSize;
62 * 4 char ASCII string to go in class identifier (option 60) in DHCP
63 * and Boot Server discover packets.
64 * For EfiNetworkInterfaceUndi this field is "UNDI".
65 * For EfiNetworkInterfaceSnp this field is "SNPN".
67 CHAR8 StringId[4];
70 * Information to be placed into the PXE DHCP and Discover packets.
71 * This is the network interface type and version number that will
72 * be placed into DHCP option 94 (client network interface identifier).
74 UINT8 Type;
75 UINT8 MajorVer;
76 UINT8 MinorVer;
78 BOOLEAN Ipv6Supported;
79 UINT8 IfNum; /* interface number to be used with pxeid structure */
80 } EFI_NETWORK_INTERFACE_IDENTIFIER_INTERFACE;
82 extern EFI_GUID NetworkInterfaceIdentifierProtocol;
84 #endif /* _EFI_NII_H */