]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/CompilerStub/Ia32/memsetRep4.asm
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / CompilerStub / Ia32 / memsetRep4.asm
diff --git a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Ia32/memsetRep4.asm b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Ia32/memsetRep4.asm
deleted file mode 100644 (file)
index 1e8f057..0000000
+++ /dev/null
@@ -1,56 +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
-    .686\r
-    .model  flat,C\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    edi\r
-    mov         ecx, [esp + 16]\r
-    test        ecx, ecx\r
-    je          @F\r
-    mov         al,  [esp + 12]\r
-    mov         ah,  al\r
-    shrd        edx, eax, 16\r
-    shld        eax, edx, 16\r
-    mov         edx, ecx\r
-    mov         edi, [esp + 8]\r
-    shr         ecx, 2\r
-    rep stosd\r
-    mov         ecx, edx\r
-    and         ecx, 3\r
-    rep stosb\r
-@@:\r
-    mov         eax, [esp + 8]\r
-    ret\r
-memset   ENDP\r
-\r
-    END\r