]>
Commit | Line | Data |
---|---|---|
1 | /** @file | |
2 | ||
3 | Copyright (c) 2007 - 2008, Intel Corporation | |
4 | All rights reserved. This program and the accompanying materials | |
5 | are licensed and made available under the terms and conditions of the BSD License | |
6 | which accompanies this distribution. The full text of the license may be found at | |
7 | http://opensource.org/licenses/bsd-license.php | |
8 | ||
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | |
11 | ||
12 | Module Name: | |
13 | ||
14 | PxeBcSupport.h | |
15 | ||
16 | Abstract: | |
17 | ||
18 | Support routines for PxeBc | |
19 | ||
20 | ||
21 | **/ | |
22 | ||
23 | #ifndef __EFI_PXEBC_SUPPORT_H__ | |
24 | #define __EFI_PXEBC_SUPPORT_H__ | |
25 | ||
26 | EFI_STATUS | |
27 | GetSmbiosSystemGuidAndSerialNumber ( | |
28 | IN EFI_GUID *SystemGuid, | |
29 | OUT CHAR8 **SystemSerialNumber | |
30 | ); | |
31 | ||
32 | ||
33 | /** | |
34 | GC_NOTO: Add function description | |
35 | ||
36 | @param Event GC_NOTO: add argument description | |
37 | @param Context GC_NOTO: add argument description | |
38 | ||
39 | @return GC_NOTO: add return values | |
40 | ||
41 | **/ | |
42 | VOID | |
43 | PxeBcCommonNotify ( | |
44 | IN EFI_EVENT Event, | |
45 | IN VOID *Context | |
46 | ) | |
47 | ; | |
48 | ||
49 | EFI_STATUS | |
50 | PxeBcConfigureUdpWriteInstance ( | |
51 | IN EFI_UDP4_PROTOCOL *Udp4, | |
52 | IN EFI_IPv4_ADDRESS *StationIp, | |
53 | IN EFI_IPv4_ADDRESS *SubnetMask, | |
54 | IN EFI_IPv4_ADDRESS *Gateway, | |
55 | IN OUT UINT16 *SrcPort | |
56 | ); | |
57 | VOID | |
58 | CvtNum ( | |
59 | IN UINTN Number, | |
60 | IN UINT8 *Buffer, | |
61 | IN INTN Length | |
62 | ); | |
63 | ||
64 | ||
65 | /** | |
66 | GC_NOTO: Add function description | |
67 | ||
68 | @param Number GC_NOTO: add argument description | |
69 | @param BufferPtr GC_NOTO: add argument description | |
70 | ||
71 | @return GC_NOTO: add return values | |
72 | ||
73 | **/ | |
74 | UINTN | |
75 | UtoA10 ( | |
76 | UINTN Number, | |
77 | CHAR8 *BufferPtr | |
78 | ) | |
79 | ; | |
80 | ||
81 | ||
82 | /** | |
83 | GC_NOTO: Add function description | |
84 | ||
85 | @param BufferPtr GC_NOTO: add argument description | |
86 | ||
87 | @return GC_NOTO: add return values | |
88 | ||
89 | **/ | |
90 | UINT64 | |
91 | AtoU64 ( | |
92 | UINT8 *BufferPtr | |
93 | ) | |
94 | ; | |
95 | ||
96 | ||
97 | #endif | |
98 |