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

ARM/VExpressPkg: Remove Hob creation in StandaloneMm. #209

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Nov 6, 2024

  1. ARM/VExpressPkg: fix build failure on StandaloneMm

    commit 8bc44608b8ea ("MdeModulePkg: Add ImagePropertiesRecordLib")
    makes build failure on StandaloneMm.
    
    commit f8d9a0a ("Update to New StackCheckLib")
    replace BaseStackCheckLib to StackCheckLibNull.
    
    To fix build failure,
       1. add ImpagePropertiesRecordLib and related libraries,
       2. replace StackCheckLib to StackCheckLibNull.
    
    Signed-off-by: Levi Yun <[email protected]>
    LeviYeoReum committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    b282125 View commit details
    Browse the repository at this point in the history
  2. ARM/VExpress: Add ArmTransferLib for StandaloneMm

    ArmTransferList is used to pass boot information according to
    firmware handoff protocol specification [0].
    
    When initializing StandaloneMm, it gets boot information formatted with
    PHIT_HOB in TransferList.
    
    To get boot information from transfer list, add ArmTrnaferLib for
    StandaloneMm.
    
    Signed-off-by: Levi.Yun <[email protected]>
    LeviYeoReum committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    7829484 View commit details
    Browse the repository at this point in the history
  3. ARM/VExpressPkg: apply FF-A feature

    apply FF-A feature on UEFI/StandaloneMm.
    
    Signed-off-by: Levi Yun <[email protected]>
    LeviYeoReum committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    137435d View commit details
    Browse the repository at this point in the history
  4. ARM/VExpressPkg: StandaloneMM instance of ExtractGuidedSectionLib

    The ExtractGuidedSectionLib implementation in Embedded package
    creates HOBs to get Uncompress handler information.
    
    Since StandaloneMM is a HOB consumer and not a HOB producer,
    a StandaloneMM instance of ExtractGuidedSectionLib has been
    introduced.
    
    Therefore, switch to using the StandaloneMM instance of the
    ExtractGuidedSectionLib.
    
    Also, when using Lzma compression for StandaloneMm the size
    of the image can be reduced.
    
    The image size reduction can be seen as below:
    before:
        FVMAIN_COMPACT [96%Full] 1048576 (0x100000) total,
        1016224 (0xf81a0) used, 32352 (0x7e60) free
    after:
        FVMAIN_COMPACT [38%Full] 1048576 (0x100000) total,
        402880 (0x625c0) used, 645696 (0x9da40) free
    
    Signed-off-by: Levi Yun <[email protected]>
    LeviYeoReum committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    480d714 View commit details
    Browse the repository at this point in the history
  5. Driver/Optee: apply ffa library

    Instead of using Svc directly to request storage operation,
    use ArmFfaLib.
    Also, memory endpoint is no more used. so remove it.
    
    Signed-off-by: Levi Yun <[email protected]>
    LeviYeoReum committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    9743217 View commit details
    Browse the repository at this point in the history
  6. StandaloneMm/MmRpmb: fix build failure for some libraries

    commit 8bc44608b8ea ("MdeModulePkg: Add ImagePropertiesRecordLib")
    makes build failure on StandaloneMm.
    
    commit f8d9a0a ("Update to New StackCheckLib")
    replace BaseStackCheckLib to StackCheckLibNull.
    
    To fix build failure,
       1. add ImagePropertiesRecordLib and related libraries,
       2. replace StackCheckLib to StackCheckLibNull.
    
    Signed-off-by: Levi.Yun <[email protected]>
    LeviYeoReum committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    22ba439 View commit details
    Browse the repository at this point in the history
  7. StandaloneMm/MmRpmb: StandaloneMm with FF-A v1.2

    Add related libraries and Pcds to build StandaloneMm with FF-A v1.2.
    
    Signed-off-by: Levi Yun <[email protected]>
    LeviYeoReum committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    6344415 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. ARM/VExpressPkg: apply some StandaloneMmPkg's movement

    StandaloneMmCoreEntryPoint Library and StandaloneMmCpu Driver for Arm
    are moved from StandaloneMmPkg to ArmPkg.
    
    apply this change.
    
    Signed-off-by: Levi.yun <[email protected]>
    Change-Id: Ic800faa0fd3bd9d8ddd37735f73ee14eef0cbcec
    LeviYeoReum committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    e02bcad View commit details
    Browse the repository at this point in the history