]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add a stub assembly file to fix the gcc build break.
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Jan 2007 21:40:50 +0000 (21:40 +0000)
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Jan 2007 21:40:50 +0000 (21:40 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2161 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Universal/DebugSupport/Dxe/DebugSupport.msa
EdkModulePkg/Universal/DebugSupport/Dxe/x64/AsmFuncs.S [new file with mode: 0644]

index fd6da0e20d08f9223237f677c0cc3e145b6d69a1..bc56709d7ea6c8e69045b3d16613557e7a3293eb 100644 (file)
@@ -8,11 +8,11 @@
     <Abstract>Component description file for DebugSupport module.</Abstract>\r
     <Description>This driver installs DebugSupport protocol for the selected processor.</Description>\r
     <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
-    <License>All rights reserved. This program and the accompanying materials
-      are licensed and made available under the terms and conditions of the BSD License
-      which accompanies this distribution.  The full text of the license may be found at
-      http://opensource.org/licenses/bsd-license.php
-      THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+    <License>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
+      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.</License>\r
     <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052</Specification>\r
   </MsaHeader>\r
@@ -53,7 +53,8 @@
     <Filename SupArchList="IPF">ipf/ds64macros.i</Filename>\r
     <Filename SupArchList="IPF">ipf/plDebugSupport.c</Filename>\r
     <Filename SupArchList="IPF">ipf/plDebugSupport.h</Filename>\r
-    <Filename SupArchList="X64">x64/AsmFuncs.asm</Filename>\r
+    <Filename ToolChainFamily="MSFT" SupArchList="X64">x64/AsmFuncs.asm</Filename>\r
+    <Filename ToolChainFamily="GCC" SupArchList="X64">x64/AsmFuncs.S</Filename>\r
     <Filename SupArchList="X64">x64/plDebugSupport.h</Filename>\r
     <Filename SupArchList="X64">x64/plDebugSupport.c</Filename>\r
   </SourceFiles>\r
@@ -76,4 +77,4 @@
       <ModuleEntryPoint>InitializeDebugSupportDriver</ModuleEntryPoint>\r
     </Extern>\r
   </Externs>\r
-</ModuleSurfaceArea>
\ No newline at end of file
+</ModuleSurfaceArea>\r
diff --git a/EdkModulePkg/Universal/DebugSupport/Dxe/x64/AsmFuncs.S b/EdkModulePkg/Universal/DebugSupport/Dxe/x64/AsmFuncs.S
new file mode 100644 (file)
index 0000000..f59a5b3
--- /dev/null
@@ -0,0 +1,57 @@
+#******************************************************************************
+#*
+#* Copyright (c) 2007, Intel Corporation                                                         
+#* All rights reserved. This program and the accompanying materials                          
+#* are licensed and made available under the terms and conditions of the BSD License         
+#* which accompanies this distribution.  The full text of the license may be found at        
+#* http://opensource.org/licenses/bsd-license.php                                            
+#*                                                                                           
+#* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
+#* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
+#*
+#******************************************************************************
+
+.globl _OrigVector
+.globl _InterruptEntryStub
+.globl _StubSize
+.globl _CommonIdtEntry
+.globl _FxStorSupport
+
+_AppEsp:         .long   0x11111111 # ?
+_DebugEsp:       .long   0x22222222 # ?
+_ExtraPush:      .long   0x33333333 # ?
+_ExceptData:     .long   0x44444444 # ?
+_Eflags:         .long   0x55555555 # ?
+_OrigVector:     .long   0x66666666 # ?
+_StubSize:       .long   _InterruptEntryStubEnd - _InterruptEntryStub
+
+.globl _FxStorSupport
+_FxStorSupport:
+        ret    
+
+.globl _GetIdtr
+_GetIdtr:
+        ret    
+
+.globl _WriteInterruptFlag
+_WriteInterruptFlag:
+        ret    
+
+.globl _Vect2Desc
+_Vect2Desc:
+        ret    
+
+.globl _InterruptEntryStub
+_InterruptEntryStub:
+        ret    
+
+.globl _InterruptEntryStubEnd
+_InterruptEntryStubEnd:
+        ret    
+
+.globl _CommonIdtEntry
+_CommonIdtEntry:
+        ret    
+
+PhonyIretd:
+        iret