]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/Common/PeiLib/PeiLib.c
3 Copyright (c) 2004, 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
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.
22 #include "TianoCommon.h"
42 Set Buffer to zero for Size bytes.
46 Buffer - Memory to set.
48 Size - Number of bytes to set
74 Copy Length bytes from Source to Destination.
78 Destination - Target of copy
80 Source - Place to copy from
82 Length - Number of bytes to copy
93 Destination8
= Destination
;
96 *(Destination8
++) = *(Source8
++);
102 IN VOID
*Destination
,
110 Copy Length bytes from Source to Destination.
114 Destination - Target of copy
116 Source - Place to copy from
118 Length - Number of bytes to copy
129 Destination8
= Destination
;
132 *(Destination8
++) = *(Source8
++);
149 Guid1 - guid to compare
150 Guid2 - guid to compare
153 = TRUE if Guid1 == Guid2
154 = FALSE if Guid1 != Guid2
158 if ((((INT32
*) Guid1
)[0] - ((INT32
*) Guid2
)[0]) == 0) {
159 if ((((INT32
*) Guid1
)[1] - ((INT32
*) Guid2
)[1]) == 0) {
160 if ((((INT32
*) Guid1
)[2] - ((INT32
*) Guid2
)[2]) == 0) {
161 if ((((INT32
*) Guid1
)[3] - ((INT32
*) Guid2
)[3]) == 0) {