3 ;Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
4 ;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.
18 ;This is the code that uses rep stosd ZeroMem service
22 ;---------------------------------------------------------------------------
27 ;---------------------------------------------------------------------------
31 ;EfiCommonLibZeroMem (
37 ;Input: VOID *Buffer - Pointer to buffer to clear
38 ;UINTN Count - Number of bytes to clear
46 ;Description: This function uses rep stosd to zero memory.
49 EfiCommonLibZeroMem PROC
53 mov ecx,dword ptr [ebp+0Ch]
57 mov edi,dword ptr [ebp+8]
69 EfiCommonLibZeroMem ENDP