Cross Reference: ScanMem32.S
xref
: /
vbox
/
src
/
VBox
/
Devices
/
EFI
/
Firmware
/
MdePkg
/
Library
/
BaseMemoryLibSse2
/
Ia32
/
ScanMem32.S
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ScanMem32.S revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
3853
N/A
#------------------------------------------------------------------------------
3853
N/A
#
3853
N/A
#
Copyright
(c)
2006
-
2008
,
Intel
Corporation
.
All
rights
reserved
.<
BR
>
3853
N/A
#
This
program
and
the
accompanying
materials
3853
N/A
#
are
licensed
and
made
available
under
the
terms
and
conditions
of
the
BSD
License
3853
N/A
#
which
accompanies
this
distribution
.
The
full
text
of
the
license
may
be
found
at
3853
N/A
#
http
:
//
opensource.org
/
licenses
/
bsd-license.php
.
3853
N/A
#
3853
N/A
#
THE
PROGRAM
IS
DISTRIBUTED
UNDER
THE
BSD
LICENSE
ON
AN
"AS IS"
BASIS
,
3853
N/A
#
WITHOUT
WARRANTIES
OR
REPRESENTATIONS
OF
ANY
KIND
,
EITHER
EXPRESS
OR
IMPLIED
.
3853
N/A
#
3853
N/A
#
Module
Name
:
3853
N/A
#
3853
N/A
#
ScanMem32
.
Asm
3853
N/A
#
3853
N/A
#
Abstract
:
3853
N/A
#
3853
N/A
#
ScanMem32
function
3853
N/A
#
3853
N/A
#
Notes
:
3853
N/A
#
3853
N/A
#
The
following
BaseMemoryLib
instances
contain
the
same
copy
of
this
file
:
3853
N/A
#
3853
N/A
#
BaseMemoryLibRepStr
5027
N/A
#
BaseMemoryLibMmx
3853
N/A
#
BaseMemoryLibSse2
3853
N/A
#
BaseMemoryLibOptDxe
3853
N/A
#
BaseMemoryLibOptPei
3853
N/A
#
4500
N/A
#------------------------------------------------------------------------------
3853
N/A
3853
N/A
ASM_GLOBAL
ASM_PFX
(
InternalMemScanMem32
)
3853
N/A
3853
N/A
#------------------------------------------------------------------------------
3853
N/A
#
CONST
VOID
*
3853
N/A
#
EFIAPI
3853
N/A
#
InternalMemScanMem32
(
3853
N/A
#
IN
CONST
VOID
*
Buffer
,
3853
N/A
#
IN
UINTN
Length
,
3853
N/A
#
IN
UINT32
Value
3853
N/A
# );
3853
N/A
#------------------------------------------------------------------------------
3853
N/A
ASM_PFX
(
InternalMemScanMem32
):
3853
N/A
push
%
edi
3853
N/A
movl
12
(%
esp
), %
ecx
3853
N/A
movl
8
(%
esp
), %
edi
3853
N/A
movl
16
(%
esp
), %
eax
4294
N/A
repne
scasl
4294
N/A
leal
-
4
(%
edi
), %
eax
3853
N/A
cmovnz
%
ecx
, %
eax
3853
N/A
pop
%
edi
3853
N/A
ret
3853
N/A