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