]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/CompilerStub/X64/memsetRep4.asm
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / CompilerStub / X64 / memsetRep4.asm
diff --git a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/X64/memsetRep4.asm b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/X64/memsetRep4.asm
deleted file mode 100644 (file)
index 0ce0bed..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-;------------------------------------------------------------------------------\r
-;\r
-; Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
-; This program and the accompanying materials\r
-; are licensed and made available under the terms and conditions of the BSD License\r
-; which accompanies this distribution.  The full text of the license may be found at\r
-; http://opensource.org/licenses/bsd-license.php\r
-;\r
-; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-;\r
-; Module Name:\r
-;\r
-;   SetMem.asm\r
-;\r
-; Abstract:\r
-;\r
-;   memset function\r
-;\r
-; Notes:\r
-;\r
-;------------------------------------------------------------------------------\r
-\r
-    .code\r
-\r
-;------------------------------------------------------------------------------\r
-;  VOID *\r
-;  memset (\r
-;    OUT VOID   *Buffer,\r
-;    IN  UINT8  Value,\r
-;    IN  UINTN  Count\r
-;    )\r
-;------------------------------------------------------------------------------\r
-memset   PROC    USES    rdi\r
-    cmp     r8, 0                      ; if Size == 0, do nothing\r
-    mov     r9,  rcx\r
-    je      @SetDone\r
-    mov     al,  dl\r
-    mov     ah,  al\r
-    shrd    edx, eax, 16\r
-    shld    eax, edx, 16\r
-    mov     rdi, rcx\r
-    mov     rcx, r8\r
-    shr     rcx, 2\r
-    rep     stosd\r
-    mov     rcx, r8\r
-    and     rcx, 3\r
-    rep     stosb\r
-@SetDone:\r
-    mov     rax, r9\r
-    ret\r
-memset   ENDP\r
-\r
-    END\r
-\r