Cross Reference: ScanMem8.S
xref
: /
vbox
/
src
/
VBox
/
Devices
/
EFI
/
Firmware
/
MdePkg
/
Library
/
BaseMemoryLibOptPei
/
X64
/
ScanMem8.S
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ScanMem8.S revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
2
N/A
#
2
N/A
#
ConvertAsm
.
py
:
Automatically
generated
from
ScanMem8
.
asm
2
N/A
#
2
N/A
#------------------------------------------------------------------------------
2
N/A
#
2
N/A
#
Copyright
(c)
2006
-
2009
,
Intel
Corporation
.
All
rights
reserved
.<
BR
>
2
N/A
#
This
program
and
the
accompanying
materials
2
N/A
#
are
licensed
and
made
available
under
the
terms
and
conditions
of
the
BSD
License
2
N/A
#
which
accompanies
this
distribution
.
The
full
text
of
the
license
may
be
found
at
2
N/A
#
http
:
//
opensource.org
/
licenses
/
bsd-license.php
.
2
N/A
#
2
N/A
#
THE
PROGRAM
IS
DISTRIBUTED
UNDER
THE
BSD
LICENSE
ON
AN
"AS IS"
BASIS
,
2
N/A
#
WITHOUT
WARRANTIES
OR
REPRESENTATIONS
OF
ANY
KIND
,
EITHER
EXPRESS
OR
IMPLIED
.
2
N/A
#
2
N/A
#
Module
Name
:
2
N/A
#
2
N/A
#
ScanMem8
.S
2
N/A
#
2
N/A
#
Abstract
:
2
N/A
#
2
N/A
#
ScanMem8
function
2
N/A
#
2
N/A
#
Notes
:
2
N/A
#
2
N/A
#
The
following
BaseMemoryLib
instances
contain
the
same
copy
of
this
file
:
2
N/A
#
2
N/A
#
BaseMemoryLibRepStr
2
N/A
#
BaseMemoryLibMmx
2
N/A
#
BaseMemoryLibSse2
2
N/A
#
BaseMemoryLibOptDxe
2
N/A
#
BaseMemoryLibOptPei
2
N/A
#
2
N/A
#------------------------------------------------------------------------------
2
N/A
2
N/A
2
N/A
#------------------------------------------------------------------------------
2
N/A
#
CONST
VOID
*
2
N/A
#
EFIAPI
2
N/A
#
InternalMemScanMem8
(
2
N/A
#
IN
CONST
VOID
*
Buffer
,
2
N/A
#
IN
UINTN
Length
,
2
N/A
#
IN
UINT8
Value
2
N/A
# );
2
N/A
#------------------------------------------------------------------------------
2
N/A
ASM_GLOBAL
ASM_PFX
(
InternalMemScanMem8
)
2
N/A
ASM_PFX
(
InternalMemScanMem8
):
2
N/A
pushq
%
rdi
2
N/A
movq
%
rcx
, %
rdi
2
N/A
movq
%
rdx
, %
rcx
2
N/A
movq
%
r8
, %
rax
2
N/A
repne
scasb
2
N/A
leaq
-
1
(%
rdi
), %
rax
2
N/A
cmovnz
%
rcx
, %
rax
#
set
rax
to
0
if
not
found
2
N/A
popq
%
rdi
2
N/A
ret
2
N/A
2
N/A