On Mon, 30 Nov 2015 19:17:17 +0000, Alain Kalker wrote:

> Booting a debug build of OVMF on QEMU, with PcdShadowPeimOnS3Boot and
> PcdShadowPeimOnBoot set to FALSE, i'm hitting the following assertion:
> 
> --[last lines of debug output]--
> DXE IPL Entry
> 
> ASSERT_EFI_ERROR (Status = Invalid Parameter)
> ASSERT /home/miki/vcs/git/edk2/MdeModulePkg/Core/Pei/Image/Image.c(603):
> !
> EFI_ERROR (Status)
> --[end]--
> 
> This is on Arch Linux (x86_64), package versions: qemu 2.4.1-1, gdb
> 7.10-4.1 .

Full backtrace from GDB:

(gdb) bt full
#0  0x000000000082df14 in CpuDeadLoop () at /home/miki/vcs/git/edk2/
MdePkg/Library/BaseLib/CpuDeadLoop.c:37
        Index = 0
#1  0x000000000082f55c in DebugAssert (FileName=0x834908 "/home/miki/vcs/
git/edk2/MdeModulePkg/Core/Pei/Image/Image.c", LineNumber=603, 
Description=0x8349d9 "!EFI_ERROR (Status)") at /home/miki/vcs/git/edk2/
OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c:153
        Buffer = "ASSERT /home/miki/vcs/git/edk2/MdeModulePkg/Core/Pei/
Image/Image.c(603): !EFI_ERROR (Status)\r\n\000\000\230\000\220\000\000
\000\000\000\264\000\220\000\000\000\000\000\000.\004", '\000' <repeats 
21 times>, "+\037\202\000\000\000\000\000\264\000\220", '\000' <repeats 
13 times>, "@\000\000\000\200\000\000\000\000\373\003", '\000' <repeats 
21 times>, "@\002", '\000' <repeats 14 times>, "\a", '\000' <repeats 15 
times>, "d\206\v", '\000' <repeats 28 times>
        Ptr = 0x8165f6 ""
#2  0x0000000000822f0e in PeiLoadImageLoadImage (PeiServices=0x816b90, 
FileHandle=0x900098, ImageAddressArg=0x816a98, ImageSizeArg=0x816a90, 
EntryPoint=0x816a88, AuthenticationState=0x816a74) at /home/miki/vcs/git/
edk2/MdeModulePkg/Core/Pei/Image/Image.c:603
        Status = 9223372036854775810
        Pe32Data = 0x9000b4
        ImageAddress = 8481086
        ImageSize = 0
        ImageEntryPoint = 8481104
        Machine = 0
        SearchType1 = 18 '\022'
        SearchType2 = 16 '\020'
#3  0x0000000000823326 in PeiLoadImageLoadImageWrapper (This=0x838650, 
FileHandle=0x900098, ImageAddressArg=0x816a98, ImageSizeArg=0x816a90, 
EntryPoint=0x816a88, AuthenticationState=0x816a74) at /home/miki/vcs/git/
edk2/MdeModulePkg/Core/Pei/Image/Image.c:722
No locals.
#4  0x0000000007fc5d41 in DxeLoadCore (This=0x7fcc350 <mDxeIplPpi>, 
PeiServices=0x816b90, HobList={Header = 0x3fde000, HandoffInformationTable 
= 0x3fde000, MemoryAllocation = 0x3fde000, MemoryAllocationBspStore = 
0x3fde000, MemoryAllocationStack = 0x3fde000, MemoryAllocationModule = 
0x3fde000, ResourceDescriptor = 0x3fde000, Guid = 0x3fde000, 
FirmwareVolume = 0x3fde000, FirmwareVolume2 = 0x3fde000, Cpu = 0x3fde000, 
Pool = 0x3fde000, Capsule = 0x3fde000, Raw = 0x3fde000 "\001"}) at /home/
miki/vcs/git/edk2/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c:325
        Status = 0
        DxeCoreFileInfo = {
          FileName = {
            Data1 = 8481672, 
            Data2 = 0, 
            Data3 = 0, 
            Data4 = "\f\000\000\000\000\000\000"
          }, 
          FileType = 0 '\000', 
          FileAttributes = 0, 
          Buffer = 0x82e8c9 <PeiServicesLocatePpi+78>, 
          BufferSize = 8481680
        }
        DxeCoreAddress = 134005632
        DxeCoreSize = 134015024
        DxeCoreEntryPoint = 0
        BootMode = 0
        FileHandle = 0x900098
        Variable = 0x20700000006
        LoadFile = 0x838650
        Instance = 1
        AuthenticationState = 0
        DataSize = 8571260
        S3Resume = 0x816ab0
        PeiRecovery = 0x82a72f <PeiDispatcher+1076>
        MemoryData = {{
            Type = 266, 
            NumberOfPages = 0
          }, {
            Type = 8603396, 
            NumberOfPages = 0
          }, {
            Type = 8481568, 
            NumberOfPages = 0
          }, {
            Type = 541415492, 
            NumberOfPages = 541872201
          }, {
            Type = 1920233029, 
            NumberOfPages = 658809
          }, {
            Type = 256, 
            NumberOfPages = 0
          }, {
            Type = 8581104, 
            NumberOfPages = 0
          }, {
            Type = 66972832, 
            NumberOfPages = 0
          }, {
            Type = 66973352, 
            NumberOfPages = 0
          }, {
            Type = 8619728, 
            NumberOfPages = 0
          }, {
            Type = 0, 
            NumberOfPages = 0
          }, {
            Type = 8481376, 
            NumberOfPages = 0
          }, {
            Type = 8577440, 
            NumberOfPages = 0
          }, {
            Type = 8481438, 
            NumberOfPages = 0
          }, {
            Type = 256, 
            NumberOfPages = 0
          }, {
            Type = 8481536, 
            NumberOfPages = 0
          }}
#5  0x00000000008218c0 in PeiCore (SecCoreDataPtr=0x3fddf80, PpiList=0x0, 
Data=0x3fdd788) at /home/miki/vcs/git/edk2/MdeModulePkg/Core/Pei/PeiMain/
PeiMain.c:459
        PrivateData = {
          Signature = 1130980688, 
          Ps = 0x816c38, 
          PpiData = {
            PpiListEnd = 15, 
            NotifyListEnd = 60, 
            DispatchListEnd = 62, 
            LastDispatchedInstall = 15, 
            LastDispatchedNotify = 62, 
            PpiListPtrs = 0x3fde040
          }, 
          FvCount = 2, 
          Fv = 0x3fde248, 
          UnknownFvInfo = 0x3fdea40, 
          UnknownFvInfoCount = 0, 
          CurrentFvFileHandles = 0x3fdeb98, 
          AprioriCount = 0, 
          CurrentPeimFvCount = 0, 
          CurrentPeimCount = 0, 
          CurrentFileHandle = 0x0, 
          PeimNeedingDispatch = 0 '\000', 
          PeimDispatchOnThisPass = 1 '\001', 
          PeimDispatcherReenter = 0 '\000', 
          HobList = {
            Header = 0x3fde000, 
            HandoffInformationTable = 0x3fde000, 
            MemoryAllocation = 0x3fde000, 
            MemoryAllocationBspStore = 0x3fde000, 
            MemoryAllocationStack = 0x3fde000, 
            MemoryAllocationModule = 0x3fde000, 
            ResourceDescriptor = 0x3fde000, 
            Guid = 0x3fde000, 
            FirmwareVolume = 0x3fde000, 
            FirmwareVolume2 = 0x3fde000, 
            Cpu = 0x3fde000, 
            Pool = 0x3fde000, 
            Capsule = 0x3fde000, 
            Raw = 0x3fde000 "\001"
          }, 
          SwitchStackSignal = 0 '\000', 
          PeiMemoryInstalled = 1 '\001', 
          CpuIo = 0x3fdd8e0, 
          PrivateSecurityPpi = 0x0, 
          ServiceTableShadow = {
            Hdr = {
              Signature = 6220110258678351184, 
              Revision = 65576, 
              HeaderSize = 240, 
              CRC32 = 0, 
              Reserved = 0
            }, 
            InstallPpi = 0x82c553 <PeiInstallPpi>, 
            ReInstallPpi = 0x82c765 <PeiReInstallPpi>, 
            LocatePpi = 0x82c958 <PeiLocatePpi>, 
            NotifyPpi = 0x82cab7 <PeiNotifyPpi>, 
            GetBootMode = 0x82ba8d <PeiGetBootMode>, 
            SetBootMode = 0x82bb2d <PeiSetBootMode>, 
            GetHobList = 0x8236c1 <PeiGetHobList>, 
            CreateHob = 0x823775 <PeiCreateHob>, 
            FfsFindNextVolume = 0x825b0f <PeiFfsFindNextVolume>, 
            FfsFindNextFile = 0x825a53 <PeiFfsFindNextFile>, 
            FfsFindSectionData = 0x825916 <PeiFfsFindSectionData>, 
            InstallPeiMemory = 0x8219e7 <PeiInstallPeiMemory>, 
            AllocatePages = 0x821b74 <PeiAllocatePages>, 
            AllocatePool = 0x821e3c <PeiAllocatePool>, 
            CopyMem = 0x82eff2 <CopyMem>, 
            SetMem = 0x82ef66 <SetMem>, 
            ReportStatusCode = 0x82be10 <PeiReportStatusCode>, 
            ResetSystem = 0x82c038 <PeiResetSystem>, 
            CpuIo = 0x8387c0, 
            PciCfg = 0x838860, 
            FfsFindFileByName = 0x825bed <PeiFfsFindFileByName>, 
            FfsGetFileInfo = 0x825c8d <PeiFfsGetFileInfo>, 
            FfsGetVolumeInfo = 0x825dd2 <PeiFfsGetVolumeInfo>, 
            RegisterForShadow = 0x82b10b <PeiRegisterForShadow>, 
            FindSectionData3 = 0x825992 <PeiFfsFindSectionData3>, 
            FfsGetFileInfo2 = 0x825d16 <PeiFfsGetFileInfo2>, 
            ResetSystem2 = 0x82c0d4 <PeiResetSystem2>
          }, 
          XipLoadFile = 0x838660, 
          PhysicalMemoryBegin = 66838528, 
          PhysicalMemoryLength = 67379200, 
          FreePhysicalMemoryTop = 134021120, 
          HeapOffset = 58515456, 
          HeapOffsetPositive = 1 '\001', 
          StackOffset = 58482688, 
          StackOffsetPositive = 1 '\001', 
          ShadowedPeiCore = 0x8206fa <PeiCore>, 
          CacheSection = {
            Section = {0x0 <repeats 16 times>}, 
            SectionData = {0x0 <repeats 16 times>}, 
            SectionSize = {0 <repeats 16 times>}, 
            AuthenticationStatus = {0 <repeats 16 times>}, 
            AllSectionCount = 0, 
            SectionIndex = 0
          }, 
          LoadModuleAtFixAddressTopAddress = 0, 
          PeiCodeMemoryRangeUsageBitMap = 0x0, 
          ShadowedImageRead = 0x0, 
          FileHandles = 0x3fdeea8, 
          FileGuid = 0x3fdeca0, 
          HoleData = {{
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }, {
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }, {
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }}
        }
        SecCoreData = 0x816b40
        NewSecCoreData = {
          DataSize = 72, 
          BootFirmwareVolumeBase = 0x820000, 
          BootFirmwareVolumeSize = 917504, 
          TemporaryRamBase = 0x810000, 
          TemporaryRamSize = 32768, 
          PeiTemporaryRamBase = 0x810000, 
          PeiTemporaryRamSize = 16384, 
          StackBase = 0x814000, 
          StackSize = 16384
        }
        Status = 0
        TempPtr = {
          PeiCore = 0x7fcc350 <mDxeIplPpi>, 
          PeimEntry = 0x7fcc350 <mDxeIplPpi>, 
          PeimNotifyEntry = 0x7fcc350 <mDxeIplPpi>, 
          DxeIpl = 0x7fcc350 <mDxeIplPpi>, 
          PpiDescriptor = 0x7fcc350 <mDxeIplPpi>, 
          NotifyDescriptor = 0x7fcc350 <mDxeIplPpi>, 
          Raw = 0x7fcc350 <mDxeIplPpi>
        }
        OldCoreData = 0x3fdd788
        CpuIo = 0x8387c0
        PciCfg = 0x838860
        HandoffInformationTable = 0x814000
        TemporaryRamDonePpi = 0x0
        Index = 8482848
#6  0x0000000000820d43 in PeiCore (SecCoreDataPtr=0x3fddf80, PpiList=0x0, 
Data=0x3fdd788) at /home/miki/vcs/git/edk2/MdeModulePkg/Core/Pei/PeiMain/
PeiMain.c:271
        PrivateData = {
          Signature = 72057594037927952, 
          Ps = 0x81711c, 
          PpiData = {
            PpiListEnd = 255, 
            NotifyListEnd = 8483104, 
            DispatchListEnd = 52, 
            LastDispatchedInstall = 8483072, 
            LastDispatchedNotify = 4294790750, 
            PpiListPtrs = 0x8172e4
          }, 
          FvCount = 1, 
          Fv = 0x0, 
          UnknownFvInfo = 0x1, 
          UnknownFvInfoCount = 8483424, 
          CurrentFvFileHandles = 0xfffd49a6 <BasePrintLibSPrintMarker
+5630>, 
          AprioriCount = 8483504, 
          CurrentPeimFvCount = 1, 
          CurrentPeimCount = 8483424, 
          CurrentFileHandle = 0xfffd48f4 <BasePrintLibSPrintMarker+5452>, 
          PeimNeedingDispatch = 0 '\000', 
          PeimDispatchOnThisPass = 0 '\000', 
          PeimDispatcherReenter = 0 '\000', 
          HobList = {
            Header = 0x8173f8, 
            HandoffInformationTable = 0x8173f8, 
            MemoryAllocation = 0x8173f8, 
            MemoryAllocationBspStore = 0x8173f8, 
            MemoryAllocationStack = 0x8173f8, 
            MemoryAllocationModule = 0x8173f8, 
            ResourceDescriptor = 0x8173f8, 
            Guid = 0x8173f8, 
            FirmwareVolume = 0x8173f8, 
            FirmwareVolume2 = 0x8173f8, 
            Cpu = 0x8173f8, 
            Pool = 0x8173f8, 
            Capsule = 0x8173f8, 
            Raw = 0x8173f8 "\200\177\201"
          }, 
          SwitchStackSignal = 79 'O', 
          PeiMemoryInstalled = 87 'W', 
          CpuIo = 0x0, 
          PrivateSecurityPpi = 0xff, 
          ServiceTableShadow = {
            Hdr = {
              Signature = 8483556, 
              Revision = 8458688, 
              HeaderSize = 0, 
              CRC32 = 0, 
              Reserved = 0
            }, 
            InstallPpi = 0x4438303030007790, 
            ReInstallPpi = 0x813346, 
            LocatePpi = 0x2a500ef5f59418f, 
            NotifyPpi = 0x2a500ef5f59418f, 
            GetBootMode = 0x4dda4c0d060cc026, 
            SetBootMode = 0xa, 
            GetHobList = 0x8171e0, 
            CreateHob = 0x34, 
            FfsFindNextVolume = 0x848b20 <gMemoryStatusCodeRecordGuid>, 
            FfsFindNextFile = 0x10, 
            FfsFindSectionData = 0x0, 
            InstallPeiMemory = 0x8529cc <BasePrintLibSPrintMarker+5452>, 
            AllocatePages = 0x2, 
            AllocatePool = 0x1000000008111b0, 
            CopyMem = 0x1, 
            SetMem = 0xff, 
            ReportStatusCode = 0x2, 
            ResetSystem = 0x810000, 
            CpuIo = 0x817230, 
            PciCfg = 0xfffd6a02, 
            FfsFindFileByName = 0x8000, 
            FfsGetFileInfo = 0x2, 
            FfsGetVolumeInfo = 0x0, 
            RegisterForShadow = 0xff, 
            FindSectionData3 = 0x1, 
            FfsGetFileInfo2 = 0x10082c97c, 
            ResetSystem2 = 0x8173af
          }, 
          XipLoadFile = 0x8172b0, 
          PhysicalMemoryBegin = 8454728, 
          PhysicalMemoryLength = 0, 
          FreePhysicalMemoryTop = 8483456, 
          HeapOffset = 4294783587, 
          HeapOffsetPositive = 0 '\000', 
          StackOffset = 32768, 
          StackOffsetPositive = 192 '\300', 
          ShadowedPeiCore = 0xfffce243 <DebugPrint+231>, 
          CacheSection = {
            Section = {0x402, 0x10a, 0xfffd5724, 0x8173e0, 
0x7261726f706d6554, 0x7267694d6d615279, 0x7830286e6f697461, 
0x202c303030303138, 0x3030414446337830, 0x3030387830202c30, 0xa0d2930, 
0x0, 0x4336303030000003, 0x3337, 0x838410 <gEfiCallerIdGuid>, 0x8173c0}, 
            SectionData = {0x848b80, 0xa, 0x817390, 0x32, 0x817790, 0x10, 
0x0, 0x0, 0x2, 0x1000000008173c0, 0x817390, 0xfffcdd51 
<InternalAssertJumpBuffer+84>, 0x2, 0x103020003, 0x817790, 0x8000}, 
            SectionSize = {8483776, 4294761722, 8483848, 255, 0, 8483556, 
8484160, 4294760590, 8483848, 18446744073709551615, 16384, 66953216, 
32768, 8486784, 8484160, 8454728}, 
            AuthenticationStatus = {66966480, 0, 8484160, 0, 32768, 0, 
66953216, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
            AllSectionCount = 4294760535, 
            SectionIndex = 3472328321189027712
          }, 
          LoadModuleAtFixAddressTopAddress = 0, 
          PeiCodeMemoryRangeUsageBitMap = 0x0, 
          ShadowedImageRead = 0x0, 
          FileHandles = 0x0, 
          FileGuid = 0x0, 
          HoleData = {{
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }, {
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }, {
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }}
        }
        SecCoreData = 0x3fddf80
        NewSecCoreData = {
          DataSize = 28864, 
          BootFirmwareVolumeBase = 0xa, 
          BootFirmwareVolumeSize = 8482976, 
          TemporaryRamBase = 0x53, 
          TemporaryRamSize = 8483497, 
          PeiTemporaryRamBase = 0x10, 
          PeiTemporaryRamSize = 8483024, 
          StackBase = 0xfffd4dea <AsciiStrLen+110>, 
          StackSize = 8
        }
        Status = 0
        TempPtr = {
          PeiCore = 0x26, 
          PeimEntry = 0x26, 
          PeimNotifyEntry = 0x26, 
          DxeIpl = 0x26, 
          PpiDescriptor = 0x26, 
          NotifyDescriptor = 0x26, 
          Raw = 0x26
        }
        OldCoreData = 0x3fdd788
        CpuIo = 0x0
        PciCfg = 0x0
        HandoffInformationTable = 0x3fde000
        TemporaryRamDonePpi = 0x8170bc
        Index = 6
#7  0x0000000000829d2a in PeiCheckAndSwitchStack (SecCoreData=0x3fddf80, 
Private=0x3fdd788) at /home/miki/vcs/git/edk2/MdeModulePkg/Core/Pei/
Dispatcher/Dispatcher.c:805
        LoadFixPeiCodeBegin = 0x82fb71 <ReportStatusCodeWithExtendedData
+201>
        Status = 0
        PeiServices = 0x817790
        NewStackSize = 131072
        TopOfOldStack = 8486912
        TopOfNewStack = 66969600
        StackOffset = 58482688
        StackOffsetPositive = 1 '\001'
        TemporaryRamBase = 8454144
        TemporaryRamSize = 32768
        TemporaryStackSize = 16384
        TemporaryStackBase = 0x814000
        PeiTemporaryRamSize = 16384
        PeiTemporaryRamBase = 0x810000
        TemporaryRamSupportPpi = 0xfffd7be4
        BaseOfNewHeap = 66969600
        HoleMemBase = 8484608
        HoleMemSize = 8484304
        HeapTemporaryRamSize = 45060
        TempBase1 = 8688232
        TempSize1 = 8
        TempBase2 = 8484520
        TempSize2 = 8619104
        Index = 8619024
#8  0x000000000082abe4 in PeiDispatcher (SecCoreData=0x817f80, 
Private=0x817788) at /home/miki/vcs/git/edk2/MdeModulePkg/Core/Pei/
Dispatcher/Dispatcher.c:1126
        Status = 9223372036854775822
        Index1 = 0
        Index2 = 8484752
        PeiServices = 0x817790
        PeimFileHandle = 0x849268
        FvCount = 0
        PeimCount = 2
        AuthenticationState = 0
        EntryPoint = 8688896
        PeimEntryPoint = 0x849500 <_ModuleEntryPoint>
        SaveCurrentPeimCount = 8484752
        SaveCurrentFvCount = 8579131
        SaveCurrentFileHandle = 0x817700
        FvFileInfo = {
          FileName = {
            Data1 = 573323373, 
            Data2 = 23228, 
            Data3 = 20404, 
            Data4 = "\261$\373\270$\210\254", <incomplete sequence \364>
          }, 
          FileType = 6 '\006', 
          FileAttributes = 519, 
          Buffer = 0x849280, 
          BufferSize = 56234
        }
        CoreFvHandle = 0x810248
#9  0x00000000008216db in PeiCore (SecCoreDataPtr=0x817f80, 
PpiList=0xfffd7bf4, Data=0x0) at /home/miki/vcs/git/edk2/MdeModulePkg/
Core/Pei/PeiMain/PeiMain.c:421
        PrivateData = {
          Signature = 1130980688, 
          Ps = 0x817838, 
          PpiData = {
            PpiListEnd = 11, 
            NotifyListEnd = 60, 
            DispatchListEnd = 62, 
            LastDispatchedInstall = 9, 
            LastDispatchedNotify = 62, 
            PpiListPtrs = 0x810040
          }, 
          FvCount = 2, 
          Fv = 0x810248, 
          UnknownFvInfo = 0x810a40, 
          UnknownFvInfoCount = 0, 
          CurrentFvFileHandles = 0x810b98, 
          AprioriCount = 1, 
          CurrentPeimFvCount = 0, 
          CurrentPeimCount = 2, 
          CurrentFileHandle = 0x849268, 
          PeimNeedingDispatch = 0 '\000', 
          PeimDispatchOnThisPass = 1 '\001', 
          PeimDispatcherReenter = 0 '\000', 
          HobList = {
            Header = 0x810000, 
            HandoffInformationTable = 0x810000, 
            MemoryAllocation = 0x810000, 
            MemoryAllocationBspStore = 0x810000, 
            MemoryAllocationStack = 0x810000, 
            MemoryAllocationModule = 0x810000, 
            ResourceDescriptor = 0x810000, 
            Guid = 0x810000, 
            FirmwareVolume = 0x810000, 
            FirmwareVolume2 = 0x810000, 
            Cpu = 0x810000, 
            Pool = 0x810000, 
            Capsule = 0x810000, 
            Raw = 0x810000 "\001"
          }, 
          SwitchStackSignal = 1 '\001', 
          PeiMemoryInstalled = 0 '\000', 
          CpuIo = 0x0, 
          PrivateSecurityPpi = 0x0, 
          ServiceTableShadow = {
            Hdr = {
              Signature = 6220110258678351184, 
              Revision = 65576, 
              HeaderSize = 240, 
              CRC32 = 0, 
              Reserved = 0
            }, 
            InstallPpi = 0x82c553 <PeiInstallPpi>, 
            ReInstallPpi = 0x82c765 <PeiReInstallPpi>, 
            LocatePpi = 0x82c958 <PeiLocatePpi>, 
            NotifyPpi = 0x82cab7 <PeiNotifyPpi>, 
            GetBootMode = 0x82ba8d <PeiGetBootMode>, 
            SetBootMode = 0x82bb2d <PeiSetBootMode>, 
            GetHobList = 0x8236c1 <PeiGetHobList>, 
            CreateHob = 0x823775 <PeiCreateHob>, 
            FfsFindNextVolume = 0x825b0f <PeiFfsFindNextVolume>, 
            FfsFindNextFile = 0x825a53 <PeiFfsFindNextFile>, 
            FfsFindSectionData = 0x825916 <PeiFfsFindSectionData>, 
            InstallPeiMemory = 0x8219e7 <PeiInstallPeiMemory>, 
            AllocatePages = 0x821b74 <PeiAllocatePages>, 
            AllocatePool = 0x821e3c <PeiAllocatePool>, 
            CopyMem = 0x82eff2 <CopyMem>, 
            SetMem = 0x82ef66 <SetMem>, 
            ReportStatusCode = 0x82be10 <PeiReportStatusCode>, 
            ResetSystem = 0x82c038 <PeiResetSystem>, 
            CpuIo = 0x8387c0, 
            PciCfg = 0x838860, 
            FfsFindFileByName = 0x825bed <PeiFfsFindFileByName>, 
            FfsGetFileInfo = 0x825c8d <PeiFfsGetFileInfo>, 
            FfsGetVolumeInfo = 0x825dd2 <PeiFfsGetVolumeInfo>, 
            RegisterForShadow = 0x82b10b <PeiRegisterForShadow>, 
            FindSectionData3 = 0x825992 <PeiFfsFindSectionData3>, 
            FfsGetFileInfo2 = 0x825d16 <PeiFfsGetFileInfo2>, 
            ResetSystem2 = 0x82c0d4 <PeiResetSystem2>
          }, 
          XipLoadFile = 0x838660, 
          PhysicalMemoryBegin = 66838528, 
          PhysicalMemoryLength = 67379200, 
          FreePhysicalMemoryTop = 134021120, 
          HeapOffset = 58515456, 
          HeapOffsetPositive = 1 '\001', 
          StackOffset = 58482688, 
          StackOffsetPositive = 1 '\001', 
          ShadowedPeiCore = 0x0, 
          CacheSection = {
            Section = {0x0 <repeats 16 times>}, 
            SectionData = {0x0 <repeats 16 times>}, 
            SectionSize = {0 <repeats 16 times>}, 
            AuthenticationStatus = {0 <repeats 16 times>}, 
            AllSectionCount = 0, 
            SectionIndex = 0
          }, 
          LoadModuleAtFixAddressTopAddress = 0, 
          PeiCodeMemoryRangeUsageBitMap = 0x0, 
          ShadowedImageRead = 0x0, 
          FileHandles = 0x810ea8, 
          FileGuid = 0x810ca0, 
          HoleData = {{
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }, {
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }, {
              Base = 0, 
              Size = 0, 
              Offset = 0, 
              OffsetPositive = 0 '\000'
            }}
        }
        SecCoreData = 0x817f80
        NewSecCoreData = {
          DataSize = 0, 
          BootFirmwareVolumeBase = 0x0, 
          BootFirmwareVolumeSize = 0, 
          TemporaryRamBase = 0x0, 
          TemporaryRamSize = 0, 
          PeiTemporaryRamBase = 0x0, 
          PeiTemporaryRamSize = 0, 
          StackBase = 0x0, 
          StackSize = 0
        }
        Status = 0
        TempPtr = {
          PeiCore = 0x0, 
          PeimEntry = 0x0, 
          PeimNotifyEntry = 0x0, 
          DxeIpl = 0x0, 
          PpiDescriptor = 0x0, 
          NotifyDescriptor = 0x0, 
          Raw = 0x0
        }
        OldCoreData = 0x0
        CpuIo = 0x820140
        PciCfg = 0x817c10
        HandoffInformationTable = 0x0
        TemporaryRamDonePpi = 0x0
        Index = 6
#10 0x00000000008204cb in ProcessModuleEntryPointList 
(SecCoreData=0x817f80, PpiList=0xfffd7bf4, Context=0x0) at /home/miki/vcs/
git/edk2/Build/OvmfX64/DEBUG_GCC49/X64/MdeModulePkg/Core/Pei/PeiMain/
DEBUG/AutoGen.c:205
No locals.
#11 0x00000000008203ad in _ModuleEntryPoint (SecCoreData=0x817f80, 
PpiList=0xfffd7bf4) at /home/miki/vcs/git/edk2/MdePkg/Library/
PeiCoreEntryPoint/PeiCoreEntryPoint.c:64
No locals.
#12 0x00000000fffcd671 in SecStartupPhase2 (Context=0x817f80) at /home/
miki/vcs/git/edk2/OvmfPkg/Sec/SecMain.c:820
        SecCoreData = 0x817f80
        BootFv = 0x820000
        PeiCoreEntryPoint = 0x820380 <_ModuleEntryPoint>
#13 0x00000000fffcecdb in InitializeDebugAgent (InitFlag=1, 
Context=0x817f80, Function=0xfffcd605 <SecStartupPhase2>) at /home/miki/
vcs/git/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c:48
No locals.
#14 0x00000000fffcd602 in SecCoreStartupWithStack (BootFv=0xfffcc000, 
TopOfCurrentStack=0x818000) at /home/miki/vcs/git/edk2/OvmfPkg/Sec/
SecMain.c:783
        SecCoreData = {
          DataSize = 72, 
          BootFirmwareVolumeBase = 0x820000, 
          BootFirmwareVolumeSize = 917504, 
          TemporaryRamBase = 0x810000, 
          TemporaryRamSize = 32768, 
          PeiTemporaryRamBase = 0x810000, 
          PeiTemporaryRamSize = 16384, 
          StackBase = 0x814000, 
          StackSize = 16384
        }
        IdtTableInStack = {
          PeiService = 0x817790, 
          IdtTable = {{
              Bits = {
                OffsetLow = 65508, 
                Selector = 16, 
                Reserved_0 = 0, 
                GateType = 142, 
                OffsetHigh = 65535, 
                OffsetUpper = 0, 
                Reserved_1 = 0
              }, 
              Uint128 = {
                Uint64 = 18446618729385099236, 
                Uint64_1 = 0
              }
            } <repeats 34 times>}
        }
        IdtDescriptor = {
          Limit = 543, 
          Base = 8486240
        }
        Index = 34
#15 0x00000000fffcc2b9 in _ModuleEntryPoint ()
No symbol table info available.
#16 0x00000000fffcc000 in ?? ()
No symbol table info available.
#17 0x0000000000818000 in ?? ()
No symbol table info available.
#18 0x0000000000000000 in ?? ()
No symbol table info available.

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to