]>
git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformSetupDxe/SetupFunctions.c
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
25 #include "PlatformSetupDxe.h"
29 IN CHAR8
*AsciiString
,
30 IN CHAR16
*UnicodeString
36 while (AsciiString
[Index
] != 0) {
37 UnicodeString
[Index
] = (CHAR16
)AsciiString
[Index
];
51 while (Data
[Index
] != 0 && Data
[Index
+1] != 0) {
53 Data
[Index
] = Data
[Index
+1];
54 Data
[Index
+1] = Temp8
;
63 IN EFI_EXP_BASE10_DATA
*Data
)
68 RawData
= Data
->Value
;
69 for (Index
= 0; Index
< (UINTN
) Data
->Exponent
; Index
++) {
78 IN EFI_EXP_BASE2_DATA
*Data
)
83 RawData
= Data
->Value
;
84 for (Index
= 0; Index
< (UINTN
) Data
->Exponent
; Index
++) {