4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Declaration of internal functions for Base Memory Library.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync are licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync which accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Copies a source buffer to a destination buffer, and returns the destination buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function wraps the gBS->CopyMem().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param DestinationBuffer The pointer to the destination buffer of the memory copy.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param SourceBuffer The pointer to the source buffer of the memory copy.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return DestinationBuffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Fills a target buffer with a byte value, and returns the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function wraps the gBS->SetMem().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer Memory to set.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Size The number of bytes to set.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value Value of the set operation.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return Buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Fills a target buffer with a 16-bit value, and returns the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The pointer to the target buffer to fill.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The count of 16-bit value to fill.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value with which to fill Length bytes of Buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return Buffer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Fills a target buffer with a 32-bit value, and returns the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The pointer to the target buffer to fill.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The count of 32-bit value to fill.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value with which to fill Length bytes of Buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return Buffer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Fills a target buffer with a 64-bit value, and returns the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The pointer to the target buffer to fill.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The count of 64-bit value to fill.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value with which to fill Length bytes of Buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return Buffer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Set Buffer to 0 for Size bytes.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The memory to set.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The number of bytes to set
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return Buffer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Compares two memory buffers of a given length.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param DestinationBuffer The first memory buffer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param SourceBuffer The second memory buffer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The length of DestinationBuffer and SourceBuffer memory
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync regions to compare. Must be non-zero.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return 0 All Length bytes of the two buffers are identical.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval Non-zero The first mismatched byte in SourceBuffer subtracted from the first
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync mismatched byte in DestinationBuffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Scans a target buffer for an 8-bit value, and returns a pointer to the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync matching 8-bit value in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The pointer to the target buffer to scan.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The count of 8-bit value to scan. Must be non-zero.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value to search for in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The pointer to the first occurrence or NULL if not found.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Scans a target buffer for a 16-bit value, and returns a pointer to the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync matching 16-bit value in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The pointer to the target buffer to scan.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The count of 16-bit value to scan. Must be non-zero.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value to search for in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The pointer to the first occurrence or NULL if not found.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Scans a target buffer for a 32-bit value, and returns a pointer to the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync matching 32-bit value in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The pointer to the target buffer to scan.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The count of 32-bit value to scan. Must be non-zero.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value to search for in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The pointer to the first occurrence or NULL if not found.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Scans a target buffer for a 64-bit value, and returns a pointer to the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync matching 64-bit value in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Buffer The pointer to the target buffer to scan.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Length The count of 64-bit value to scan. Must be non-zero.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value to search for in the target buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The pointer to the first occurrence or NULL if not found.