mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-10-30 18:53:45 +01:00 
			
		
		
		
	Fix a bug which print new stack size and old stack size wrongly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7285 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
		
							parent
							
								
									812acaec29
								
							
						
					
					
						commit
						90e128e28a
					
				| @ -1,7 +1,7 @@ | |||||||
| /** @file
 | /** @file
 | ||||||
|   EFI PEI Core dispatch services |   EFI PEI Core dispatch services | ||||||
|    |    | ||||||
| Copyright (c) 2006, Intel Corporation | Copyright (c) 2006 - 2009, Intel Corporation | ||||||
| All rights reserved. This program and the accompanying materials | All rights reserved. This program and the accompanying materials | ||||||
| are licensed and made available under the terms and conditions of the BSD License | 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 | which accompanies this distribution.  The full text of the license may be found at | ||||||
| @ -474,7 +474,7 @@ PeiDispatcher ( | |||||||
|               // But if new stack is smaller than the size of old stack, we also reserve
 |               // But if new stack is smaller than the size of old stack, we also reserve
 | ||||||
|               // the size of old stack at bottom of permenent memory.
 |               // the size of old stack at bottom of permenent memory.
 | ||||||
|               //
 |               //
 | ||||||
|               DEBUG ((EFI_D_ERROR, "Old Stack Size%d, New stack size%d\n", (INT32) Private->StackSize, (INT32) OldPeiStackSize)); |               DEBUG ((EFI_D_INFO, "Old Stack size %d, New stack size %d\n", (INT32) OldPeiStackSize, (INT32) Private->StackSize)); | ||||||
|               ASSERT (Private->StackSize >= OldPeiStackSize); |               ASSERT (Private->StackSize >= OldPeiStackSize); | ||||||
|               StackGap = Private->StackSize - OldPeiStackSize; |               StackGap = Private->StackSize - OldPeiStackSize; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user