]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/CompilerStub/X64/memsetRep1.asm
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / CompilerStub / X64 / memsetRep1.asm
diff --git a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/X64/memsetRep1.asm b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/X64/memsetRep1.asm
deleted file mode 100644 (file)
index c5e08e1..0000000
+++ /dev/null
@@ -1,48 +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
-;   memsetRep1.asm\r
-;\r
-; Abstract:\r
-;\r
-;   SetMem function\r
-;\r
-; Notes:\r
-;\r
-;------------------------------------------------------------------------------\r
-\r
-    .code\r
-\r
-;------------------------------------------------------------------------------\r
-; VOID *\r
-; memset (\r
-;   OUT     VOID                      *Buffer,\r
-;   IN      UINTN                     Size,\r
-;   IN      UINT8                     Value\r
-;   );\r
-;------------------------------------------------------------------------------\r
-memset   PROC    USES    rdi\r
-    cmp     rdx, 0                      ; if Size == 0, do nothing\r
-    mov     r9,  rcx\r
-    je      @SetDone\r
-    mov     rax, r8\r
-    mov     rdi, rcx\r
-    mov     rcx, rdx\r
-    rep     stosb\r
-@SetDone:\r
-    mov     rax, r9\r
-    ret\r
-memset   ENDP\r
-\r
-    END\r
-\r