SetMem64.S revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
5027N/A#------------------------------------------------------------------------------
5027N/A#
5027N/A# Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5027N/A# This program and the accompanying materials
5027N/A# are licensed and made available under the terms and conditions of the BSD License
5027N/A# which accompanies this distribution. The full text of the license may be found at
5027N/A# http://opensource.org/licenses/bsd-license.php.
5027N/A#
5027N/A# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
5027N/A# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
5027N/A#
5027N/A# Module Name:
5027N/A#
5027N/A# SetMem64.Asm
5027N/A#
5027N/A# Abstract:
5027N/A#
5027N/A# SetMem64 function
5027N/A#
5027N/A# Notes:
5027N/A#
5027N/A#------------------------------------------------------------------------------
5027N/A
5027N/AASM_GLOBAL ASM_PFX(InternalMemSetMem64)
5027N/A
6238N/A#------------------------------------------------------------------------------
5027N/A# VOID *
5027N/A# InternalMemSetMem64 (
5027N/A# IN VOID *Buffer,
5027N/A# IN UINTN Count,
6331N/A# IN UINT64 Value
6331N/A# )
6331N/A#------------------------------------------------------------------------------
6331N/AASM_PFX(InternalMemSetMem64):
6331N/A push %edi
6331N/A movl 12(%esp), %ecx
6331N/A movl 16(%esp), %eax
6331N/A movl 20(%esp), %edx
6331N/A movl 8(%esp), %edi
6331N/AL0:
6331N/A mov %eax, -8(%edi, %ecx, 8)
6331N/A mov %edx, -4(%edi, %ecx, 8)
6331N/A loop L0
6331N/A movl %edi, %eax
6331N/A pop %edi
6331N/A ret
6331N/A