Deleted x64\SwitchStack.c Ipf/SwitchStack.c.

Added SwitchStack.c in Baselib\
Rename Ia32/SwitchStack.c to Ia32/InternalSwitchStack.c
Changed _SwitchStack() into InternalSwitchStack() in SwitchStack.asm and SwitchStack.s
Fixed one bug in LinkedList.c, that List length couldn't up to PcdMaximumLinkedListLength. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@394 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2006-06-02 07:58:31 +00:00
parent 6fc80a45b5
commit 7d7c2b4640
8 changed files with 130 additions and 11 deletions

View File

@@ -66,7 +66,7 @@
//VOID
//_SwitchStack (
//InternalSwitchStack (
// VOID *ContinuationFunction,
// UINTN Parameter,
// UINTN NewTopOfStack,
@@ -85,7 +85,7 @@
//
//--*/
PROCEDURE_ENTRY(_SwitchStack)
PROCEDURE_ENTRY(InternalSwitchStack)
mov r16 = -0x10;;
and r16 = r34, r16;; // get new stack value in R16, 0 the last nibble.
@@ -117,6 +117,6 @@ PROCEDURE_ENTRY(_SwitchStack)
;;
br.call.sptk.few b0=b6;; // Call the continuation function
;;
PROCEDURE_EXIT(_SwitchStack)
PROCEDURE_EXIT(InternalSwitchStack)