Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Sec/Ia32
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Sec/Ia32/SecEntry.S
r48674 r58459 2 2 #------------------------------------------------------------------------------ 3 3 #* 4 #* Copyright (c) 2006 - 20 09, Intel Corporation. All rights reserved.<BR>4 #* Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> 5 5 #* This program and the accompanying materials 6 6 #* are licensed and made available under the terms and conditions of the BSD License … … 37 37 38 38 # 39 # Load temporary stack top at very low memory. The C code 40 # can reload to a better address. 39 # Load temporary RAM stack based on PCDs 41 40 # 42 movl $BASE_512KB, %eax 41 .set SEC_TOP_OF_STACK, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase) + \ 42 FixedPcdGet32 (PcdOvmfSecPeiTempRamSize) 43 movl $SEC_TOP_OF_STACK, %eax 43 44 movl %eax, %esp 44 45 nop 45 46 46 47 # 47 # Call into C code 48 # Setup parameters and call SecCoreStartupWithStack 49 # [esp] return address for call 50 # [esp+4] BootFirmwareVolumePtr 51 # [esp+8] TopOfCurrentStack 48 52 # 49 53 pushl %eax -
trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Sec/Ia32/SecEntry.asm
r48674 r58459 2 2 ;------------------------------------------------------------------------------ 3 3 ;* 4 ;* Copyright (c) 2006 - 20 09, Intel Corporation. All rights reserved.<BR>4 ;* Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> 5 5 ;* This program and the accompanying materials 6 6 ;* are licensed and made available under the terms and conditions of the BSD License … … 39 39 40 40 ; 41 ; Load temporary stack top at very low memory. The C code 42 ; can reload to a better address. 41 ; Load temporary RAM stack based on PCDs 43 42 ; 44 mov eax, BASE_512KB 43 SEC_TOP_OF_STACK EQU (FixedPcdGet32 (PcdOvmfSecPeiTempRamBase) + \ 44 FixedPcdGet32 (PcdOvmfSecPeiTempRamSize)) 45 mov eax, SEC_TOP_OF_STACK 45 46 mov esp, eax 46 47 nop 47 48 48 49 ; 49 ; Call into C code 50 ; Setup parameters and call SecCoreStartupWithStack 51 ; [esp] return address for call 52 ; [esp+4] BootFirmwareVolumePtr 53 ; [esp+8] TopOfCurrentStack 50 54 ; 51 55 push eax
Note:
See TracChangeset
for help on using the changeset viewer.