TianoCore EDK2 master
Loading...
Searching...
No Matches
SetMem.c File Reference
#include "MemLibInternals.h"

Go to the source code of this file.

Functions

VOID *EFIAPI InternalMemSetMem (OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
 

Detailed Description

Implementation of the EfiSetMem routine. This function is broken out into its own source file so that it can be excluded from a build for a particular platform easily if an optimized version is desired.

Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
Copyright (c) 2012 - 2013, ARM Ltd. All rights reserved.
Copyright (c) 2016, Linaro Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SetMem.c.

Function Documentation

◆ InternalMemSetMem()

VOID *EFIAPI InternalMemSetMem ( OUT VOID *  Buffer,
IN UINTN  Length,
IN UINT8  Value 
)

Set Buffer to Value for Size bytes.

Parameters
BufferThe memory to set.
LengthThe number of bytes to set.
ValueThe value of the set operation.
Returns
Buffer

Definition at line 29 of file SetMem.c.