]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Renamed remotely
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 27 Sep 2008 02:33:48 +0000 (02:33 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 27 Sep 2008 02:33:48 +0000 (02:33 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5995 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/CpuIoDxe/X64/CpuIoAccess.asm [new file with mode: 0644]
DuetPkg/CpuIoDxe/x64/CpuIoAccess.asm [deleted file]

diff --git a/DuetPkg/CpuIoDxe/X64/CpuIoAccess.asm b/DuetPkg/CpuIoDxe/X64/CpuIoAccess.asm
new file mode 100644 (file)
index 0000000..fa71762
--- /dev/null
@@ -0,0 +1,111 @@
+  title   CpuIoAccess.asm\r
+\r
+;------------------------------------------------------------------------------\r
+;*\r
+;*   Copyright (c) 2005 - 2007, Intel Corporation                                                         \r
+;*   All rights reserved. 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
+;*    CpuIoAccess.asm\r
+;*  \r
+;*   Abstract:\r
+;*    Supports x64 CPU IO operation\r
+;*\r
+;------------------------------------------------------------------------------\r
+;\r
+;   \r
+; \r
+; Abstract:\r
+; \r
+;   \r
+;------------------------------------------------------------------------------\r
+\r
+.CODE\r
+\r
+;------------------------------------------------------------------------------\r
+;  UINT8\r
+;  CpuIoRead8 (\r
+;    UINT16  Port   // rcx\r
+;    )\r
+;------------------------------------------------------------------------------\r
+CpuIoRead8 PROC        PUBLIC\r
+    xor   eax, eax\r
+    mov    dx, cx\r
+    in     al, dx\r
+    ret\r
+CpuIoRead8  ENDP\r
+\r
+;------------------------------------------------------------------------------\r
+;  VOID\r
+;  CpuIoWrite8 (\r
+;    UINT16  Port,    // rcx\r
+;    UINT32  Data     // rdx\r
+;    )\r
+;------------------------------------------------------------------------------\r
+CpuIoWrite8 PROC        PUBLIC\r
+    mov   eax, edx\r
+    mov    dx, cx\r
+    out    dx, al\r
+    ret\r
+CpuIoWrite8  ENDP\r
+\r
+;------------------------------------------------------------------------------\r
+;  UINT16\r
+;  CpuIoRead16 (\r
+;    UINT16  Port   // rcx\r
+;    )\r
+;------------------------------------------------------------------------------\r
+CpuIoRead16 PROC        PUBLIC\r
+    xor   eax, eax\r
+    mov    dx, cx\r
+    in     ax, dx\r
+    ret\r
+CpuIoRead16  ENDP\r
+\r
+;------------------------------------------------------------------------------\r
+;  VOID\r
+;  CpuIoWrite16 (\r
+;    UINT16  Port,    // rcx\r
+;    UINT32  Data     // rdx\r
+;    )\r
+;------------------------------------------------------------------------------\r
+CpuIoWrite16 PROC        PUBLIC\r
+    mov   eax, edx\r
+    mov    dx, cx\r
+    out    dx, ax\r
+    ret\r
+CpuIoWrite16  ENDP\r
+\r
+;------------------------------------------------------------------------------\r
+;  UINT32\r
+;  CpuIoRead32 (\r
+;    UINT16  Port   // rcx\r
+;    )\r
+;------------------------------------------------------------------------------\r
+CpuIoRead32 PROC        PUBLIC\r
+    mov    dx, cx\r
+    in    eax, dx\r
+    ret\r
+CpuIoRead32  ENDP\r
+\r
+;------------------------------------------------------------------------------\r
+;  VOID\r
+;  CpuIoWrite32 (\r
+;    UINT16  Port,    // rcx\r
+;    UINT32  Data     // rdx\r
+;    )\r
+;------------------------------------------------------------------------------\r
+CpuIoWrite32 PROC        PUBLIC\r
+    mov   eax, edx\r
+    mov    dx, cx\r
+    out    dx, eax\r
+    ret\r
+CpuIoWrite32  ENDP\r
+\r
+END\r
diff --git a/DuetPkg/CpuIoDxe/x64/CpuIoAccess.asm b/DuetPkg/CpuIoDxe/x64/CpuIoAccess.asm
deleted file mode 100644 (file)
index fa71762..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-  title   CpuIoAccess.asm\r
-\r
-;------------------------------------------------------------------------------\r
-;*\r
-;*   Copyright (c) 2005 - 2007, Intel Corporation                                                         \r
-;*   All rights reserved. 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
-;*    CpuIoAccess.asm\r
-;*  \r
-;*   Abstract:\r
-;*    Supports x64 CPU IO operation\r
-;*\r
-;------------------------------------------------------------------------------\r
-;\r
-;   \r
-; \r
-; Abstract:\r
-; \r
-;   \r
-;------------------------------------------------------------------------------\r
-\r
-.CODE\r
-\r
-;------------------------------------------------------------------------------\r
-;  UINT8\r
-;  CpuIoRead8 (\r
-;    UINT16  Port   // rcx\r
-;    )\r
-;------------------------------------------------------------------------------\r
-CpuIoRead8 PROC        PUBLIC\r
-    xor   eax, eax\r
-    mov    dx, cx\r
-    in     al, dx\r
-    ret\r
-CpuIoRead8  ENDP\r
-\r
-;------------------------------------------------------------------------------\r
-;  VOID\r
-;  CpuIoWrite8 (\r
-;    UINT16  Port,    // rcx\r
-;    UINT32  Data     // rdx\r
-;    )\r
-;------------------------------------------------------------------------------\r
-CpuIoWrite8 PROC        PUBLIC\r
-    mov   eax, edx\r
-    mov    dx, cx\r
-    out    dx, al\r
-    ret\r
-CpuIoWrite8  ENDP\r
-\r
-;------------------------------------------------------------------------------\r
-;  UINT16\r
-;  CpuIoRead16 (\r
-;    UINT16  Port   // rcx\r
-;    )\r
-;------------------------------------------------------------------------------\r
-CpuIoRead16 PROC        PUBLIC\r
-    xor   eax, eax\r
-    mov    dx, cx\r
-    in     ax, dx\r
-    ret\r
-CpuIoRead16  ENDP\r
-\r
-;------------------------------------------------------------------------------\r
-;  VOID\r
-;  CpuIoWrite16 (\r
-;    UINT16  Port,    // rcx\r
-;    UINT32  Data     // rdx\r
-;    )\r
-;------------------------------------------------------------------------------\r
-CpuIoWrite16 PROC        PUBLIC\r
-    mov   eax, edx\r
-    mov    dx, cx\r
-    out    dx, ax\r
-    ret\r
-CpuIoWrite16  ENDP\r
-\r
-;------------------------------------------------------------------------------\r
-;  UINT32\r
-;  CpuIoRead32 (\r
-;    UINT16  Port   // rcx\r
-;    )\r
-;------------------------------------------------------------------------------\r
-CpuIoRead32 PROC        PUBLIC\r
-    mov    dx, cx\r
-    in    eax, dx\r
-    ret\r
-CpuIoRead32  ENDP\r
-\r
-;------------------------------------------------------------------------------\r
-;  VOID\r
-;  CpuIoWrite32 (\r
-;    UINT16  Port,    // rcx\r
-;    UINT32  Data     // rdx\r
-;    )\r
-;------------------------------------------------------------------------------\r
-CpuIoWrite32 PROC        PUBLIC\r
-    mov   eax, edx\r
-    mov    dx, cx\r
-    out    dx, eax\r
-    ret\r
-CpuIoWrite32  ENDP\r
-\r
-END\r