Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rebase & FF] 202405: Basecore Standalone MM Changes #924

Merged
merged 4 commits into from
Jul 5, 2024

Commits on Jul 5, 2024

  1. StandaloneMmPkg: Add PeiStandaloneMmHobProductionLib

    This is a NULL class library with a constructor that registers
    notifications on data sources needed to produce HOBs consumed
    within the Standalone MM core environment.
    
    The data source must be a standard based API so the library
    remains portable.
    
    cherry-pick from 8254b47
    makubacki authored and cfernald committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    8b6d4e8 View commit details
    Browse the repository at this point in the history
  2. TCBZ3398 and TCBZ3430: Make MessageLength the same size in EFI_MM_COM…

    …MUNICATE_HEADER for both IA32 and X64
    
    REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3398
    REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3430
    
    These changes update references to the MessageLength field of EFI_MM_COMMUNICATE_HEADER.
    This structure can be used for both PEI and DXE MM communication. Thus, for
    a system that supports PEI MM launch but operates PEI in 32bit mode and MM foundation in 64bit,
    the current EFI_MM_COMMUNICATE_HEADER definition will cause structure parse error due to UINTN used.
    
    cherry-pick from 271a1a0
    kuqin12 authored and cfernald committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    ecce8bc View commit details
    Browse the repository at this point in the history
  3. UefiCpuPkg: SmmCpuExceptionHandlerLib: Extend reloc flag to GCC

    When building standalone MM core module, the relocation is also
    disabled and this will introduce a linker break when this is done
    with GCC.
    
    Thus extending the flag to cover GCC builds as well.
    
    cherry-pick from 57e8694
    
    Signed-off-by: Kun Qin <[email protected]>
    kuqin12 authored and cfernald committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    c42ebc2 View commit details
    Browse the repository at this point in the history
  4. Implement MmServicesTableLib for MM Core (microsoft#730)

    This change added the long vacant `MmServicesTableLib` for MM core instance.
    The implementation will use extern to link the gMmst to the global MM table,
    so that the libraries can use gMmst more generically.
    
    cherry-pick from 03d53bb, d4dff6b, 1f75b27
    kuqin12 authored and cfernald committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    ba70658 View commit details
    Browse the repository at this point in the history