Skip to content

Commit

Permalink
Merge branch 'woa-msmnile:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
remtrik authored Jul 19, 2024
2 parents bef48fa + 99e9dac commit 7aa666c
Show file tree
Hide file tree
Showing 1,389 changed files with 32,490 additions and 4,971 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/all_platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ jobs:
path: Build/SurfaceDuo1Pkg/ci_artifacts
compression-level: 9

- name: Upload Kona's Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-kona-sm8250
path: Build/KonaPkg/ci_artifacts
compression-level: 9

- name: Upload Kodiak's Artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -82,5 +89,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: uefi-images-lahaina-sm8350
path: Build/LahainaPkg/ci_artifacts
path: Build/SurfaceDuo2Pkg/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_qti_mtp8150.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This is a basic workflow to help you get started with Actions

name: Sm8150 QTI MTP8150

# Controls when the workflow will run
on:
# # Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
paths:
- 'Platforms/SurfaceDuo1Pkg/Device/qcom-mtp8150/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Indicate that we are running in CI
env:
WM_CI_BUILD: true

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Build SB/NOSB uefi for qti mtp8150.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d qcom-mtp8150

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-mtp8150
path: Build/*/ci_artifacts
compression-level: 9
37 changes: 37 additions & 0 deletions .github/workflows/sm8250.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This is a basic workflow to help you get started with Actions

name: Build uefi for all Sm8250 devices.

# Controls when the workflow will run
on:
# # Triggers the workflow on push or pull request events but only for the "main" branch
# push:
# branches: [ "main" ]
#
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Indicate that we are running in CI
env:
WM_CI_BUILD: true

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: build uefi for all devices in KonaPkg.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d all -p Sm8250

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-sm8250
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8250_qti_mtp8250.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This is a basic workflow to help you get started with Actions

name: Sm8250 QTI MTP8250

# Controls when the workflow will run
on:
# # Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
paths:
- 'Platforms/KonaPkg/Device/qcom-mtp8250/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Indicate that we are running in CI
env:
WM_CI_BUILD: true

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Build SB/NOSB uefi for qti mtp8250.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d qcom-mtp8250

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-mtp8250
path: Build/*/ci_artifacts
compression-level: 9
2 changes: 1 addition & 1 deletion .github/workflows/sm8350.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: build uefi for all devices in SurfaceDuo1Pkg.
- name: build uefi for all devices in SurfaceDuo2Pkg.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d all -p Sm8350

- name: Upload Artifact
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ Platforms/SurfaceDuoFamilyPkg/Include/Generated/
Platforms/SurfaceDuo1Pkg/Include/Resources/ReleaseInfo.h
Platforms/SurfaceDuo2Pkg/Include/Resources/ReleaseInfo.h

Silicon/QC/Sdm845/QcomPkg/Include/Configuration/DeviceConfigurationMap.h
Silicon/QC/Sm7125/QcomPkg/Include/Configuration/DeviceConfigurationMap.h
Silicon/QC/Sm7325/QcomPkg/Include/Configuration/DeviceConfigurationMap.h
Silicon/QC/Sm8150/QcomPkg/Include/Configuration/DeviceConfigurationMap.h
Silicon/QC/Sm8350/QcomPkg/Include/Configuration/DeviceConfigurationMap.h
Silicon/QC/Sm8550/QcomPkg/Include/Configuration/DeviceConfigurationMap.h


# Local
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion Common/MU
Submodule MU updated 82 files
+3 −3 .azurepipelines/MuDevOpsWrapper.yml
+1 −0 .gitattributes
+1 −1 .github/workflows/auto-approve.yml
+1 −1 .github/workflows/auto-merge.yml
+1 −1 .github/workflows/codeql.yml
+1 −1 .github/workflows/issue-assignment.yml
+1 −1 .github/workflows/label-issues.yml
+1 −1 .github/workflows/label-sync.yml
+1 −1 .github/workflows/release-draft.yml
+1 −1 .github/workflows/stale.yml
+1 −1 .github/workflows/triage-issues.yml
+164 −0 AdvLoggerPkg/AdvLoggerOsConnectorPrm/AdvLoggerOsConnectorPrm.c
+36 −0 AdvLoggerPkg/AdvLoggerOsConnectorPrm/AdvLoggerOsConnectorPrm.h
+42 −0 AdvLoggerPkg/AdvLoggerOsConnectorPrm/AdvLoggerOsConnectorPrm.inf
+216 −0 AdvLoggerPkg/AdvLoggerOsConnectorPrm/GoogleTest/AdvLoggerOsConnectorPrmGoogleTest.cpp
+31 −0 AdvLoggerPkg/AdvLoggerOsConnectorPrm/GoogleTest/AdvLoggerOsConnectorPrmGoogleTest.inf
+298 −0 ...ggerPkg/AdvLoggerOsConnectorPrm/Library/AdvLoggerOsConnectorPrmConfigLib/AdvLoggerOsConnectorPrmConfigLib.c
+47 −0 ...erPkg/AdvLoggerOsConnectorPrm/Library/AdvLoggerOsConnectorPrmConfigLib/AdvLoggerOsConnectorPrmConfigLib.inf
+688 −0 ...oggerOsConnectorPrm/Library/AdvLoggerOsConnectorPrmConfigLib/GoogleTest/AdvLoggerPrmConfigLibGoogleTest.cpp
+44 −0 ...oggerOsConnectorPrm/Library/AdvLoggerOsConnectorPrmConfigLib/GoogleTest/AdvLoggerPrmConfigLibGoogleTest.inf
+17 −4 AdvLoggerPkg/AdvLoggerPkg.ci.yaml
+11 −1 AdvLoggerPkg/AdvLoggerPkg.dec
+2 −0 AdvLoggerPkg/AdvLoggerPkg.dsc
+72 −0 AdvLoggerPkg/Application/DecodeUefiLog/DecodeUefiLog.py
+37 −0 AdvLoggerPkg/Application/Windows/AdvLoggerDumpWin.sln
+164 −0 AdvLoggerPkg/Application/Windows/AdvLoggerDumpWin/AdvLoggerDumpWin.vcxproj
+16 −0 AdvLoggerPkg/Application/Windows/AdvLoggerDumpWin/PropertySheet.props
+51 −0 AdvLoggerPkg/Application/Windows/AdvLoggerDumpWin/ReadMe.md
+171 −0 AdvLoggerPkg/Application/Windows/AdvLoggerDumpWin/main.cpp
+17 −0 AdvLoggerPkg/Application/Windows/AdvLoggerDumpWin/main.h
+4 −0 AdvLoggerPkg/Application/Windows/AdvLoggerDumpWin/packages.config
+238 −0 AdvLoggerPkg/Application/Windows/PrmFuncSample/PrmFunc/prmfuncsample.c
+74 −0 AdvLoggerPkg/Application/Windows/PrmFuncSample/PrmFunc/prmfuncsample.h
+55 −0 AdvLoggerPkg/Application/Windows/PrmFuncSample/PrmFunc/prmfuncsample.inf
+170 −0 AdvLoggerPkg/Application/Windows/PrmFuncSample/PrmFunc/prmfuncsample.vcxproj
+31 −0 AdvLoggerPkg/Application/Windows/PrmFuncSample/PrmFunc/prmfuncsample.vcxproj.Filters
+41 −0 AdvLoggerPkg/Application/Windows/PrmFuncSample/README.md
+33 −0 AdvLoggerPkg/Application/Windows/PrmFuncSample/prmsample.sln
+50 −2 AdvLoggerPkg/Docs/ReadMe.md
+29 −21 AdvLoggerPkg/Include/AdvancedLoggerInternal.h
+7 −7 AdvLoggerPkg/Library/AdvLoggerMmAccessLib/AdvLoggerMmAccessLib.c
+7 −7 AdvLoggerPkg/Library/AdvLoggerSmmAccessLib/AdvLoggerSmmAccessLib.c
+7 −7 AdvLoggerPkg/Library/AdvancedLoggerAccessLib/AdvancedLoggerAccessLib.c
+17 −16 AdvLoggerPkg/Library/AdvancedLoggerLib/AdvancedLoggerCommon.c
+7 −7 AdvLoggerPkg/Library/AdvancedLoggerLib/BaseArm/AdvancedLoggerLib.c
+10 −10 AdvLoggerPkg/Library/AdvancedLoggerLib/DxeCore/AdvancedLoggerLib.c
+4 −4 AdvLoggerPkg/Library/AdvancedLoggerLib/MmCore/AdvancedLoggerLib.c
+6 −6 AdvLoggerPkg/Library/AdvancedLoggerLib/MmCoreArm/AdvancedLoggerLib.c
+95 −36 AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c
+2 −0 AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.inf
+7 −6 AdvLoggerPkg/Library/AdvancedLoggerLib/Runtime/AdvancedLoggerLib.c
+7 −7 AdvLoggerPkg/Library/AdvancedLoggerLib/SmmCore/AdvancedLoggerLib.c
+15 −17 AdvLoggerPkg/Library/DebugAgent/Sec/AdvancedLoggerSecDebugAgent.c
+47 −0 AdvLoggerPkg/Test/AdvLoggerHostTest.dsc
+7 −7 AdvLoggerPkg/UnitTests/AdvancedLoggerWrapper/AdvancedLoggerWrapperTestApp.c
+53 −42 AdvLoggerPkg/UnitTests/LineParser/LineParserTestApp.c
+64 −45 HidPkg/UefiHidDxeV2/src/keyboard/mod.rs
+2 −0 HidPkg/UefiHidDxeV2/src/keyboard/simple_text_in.rs
+5 −0 HidPkg/UefiHidDxeV2/src/keyboard/simple_text_in_ex.rs
+22 −11 HidPkg/UefiHidDxeV2/src/pointer/mod.rs
+200 −0 MfciPkg/Application/MfciPolicy/MfciPolicy.py
+70 −0 MfciPkg/Application/MfciPolicy/Readme.md
+169 −0 MfciPkg/Application/MfciPolicy/UefiVariableSupport/UefiVariablesSupportLib.py
+79 −80 MfciPkg/Include/Library/MfciDeviceIdSupportLib.h
+2 −0 MfciPkg/Library/MfciDeviceIdSupportLibNull/MfciDeviceIdSupportLibNull.c
+9 −0 MfciPkg/Library/MfciDeviceIdSupportLibSmbios/MfciDeviceIdSupportLibSmbios.c
+23 −0 MfciPkg/MfciDxe/MfciTargeting.c
+2 −0 MfciPkg/MfciDxe/Test/MfciMultipleCertsHostTest.c
+3 −18 MfciPkg/Private/MfciPolicyFields.h
+1 −1 MfciPkg/UnitTests/MfciPkgHostTest.dsc
+4 −0 MfciPkg/UnitTests/MfciPolicyParsingUnitTest/MfciPolicyParsingUnitTestApp.inf
+109 −42 UefiTestingPkg/AuditTests/PagingAudit/README.md
+2 −94 UefiTestingPkg/AuditTests/PagingAudit/UEFI/Dxe/App/DxePagingAuditTestApp.c
+1 −1 UefiTestingPkg/AuditTests/PagingAudit/UEFI/Dxe/Driver/DxePagingAuditDriver.c
+1 −1 UefiTestingPkg/AuditTests/PagingAudit/UEFI/DxePagingAuditDriver.inf
+85 −95 UefiTestingPkg/FunctionalSystemTests/MemmapAndMatTestApp/MemmapAndMatTestApp.c
+33 −12 UefiTestingPkg/FunctionalSystemTests/MorLockTestApp/MorLockTestApp.c
+16 −0 UefiTestingPkg/Library/FlatPageTableLib/AArch64/FlatPageTableAArch64.c
+23 −0 UefiTestingPkg/Library/FlatPageTableLib/AArch64/ReadIdMmfr1.asm
+1 −0 UefiTestingPkg/Library/FlatPageTableLib/FlatPageTableLib.inf
+3 −3 pip-requirements.txt
+1 −1 rust-toolchain.toml
2 changes: 1 addition & 1 deletion Common/MU_TIANO
Submodule MU_TIANO updated 57 files
+3 −3 .azurepipelines/MuDevOpsWrapper.yml
+1 −0 .gitattributes
+1 −1 .github/workflows/auto-approve.yml
+1 −1 .github/workflows/auto-merge.yml
+13 −3 .github/workflows/codeql.yml
+1 −1 .github/workflows/issue-assignment.yml
+1 −1 .github/workflows/label-issues.yml
+1 −1 .github/workflows/label-sync.yml
+1 −1 .github/workflows/release-draft.yml
+1 −1 .github/workflows/stale.yml
+1 −1 .github/workflows/triage-issues.yml
+3 −0 .gitmodules
+3 −0 .markdownlintignore
+2 −0 .pytool/CISettings.py
+970 −0 SecurityPkg/DeviceSecurity/OsStub/CryptlibWrapper/CryptlibWrapper.c
+38 −0 SecurityPkg/DeviceSecurity/OsStub/CryptlibWrapper/CryptlibWrapper.inf
+177 −0 SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibWrapper.c
+33 −0 SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibWrapper.inf
+85 −0 SecurityPkg/DeviceSecurity/OsStub/PlatformLibWrapper/PlatformLibWrapper.c
+33 −0 SecurityPkg/DeviceSecurity/OsStub/PlatformLibWrapper/PlatformLibWrapper.inf
+347 −0 SecurityPkg/DeviceSecurity/SpdmLib/Include/Stub/SpdmLibStub.h
+23 −0 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdBoolAlt.h
+16 −0 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdDefAlt.h
+25 −0 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdIntAlt.h
+94 −0 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/base.h
+39 −0 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/library/debuglib.h
+394 −0 SecurityPkg/DeviceSecurity/SpdmLib/Include/library/spdm_lib_config.h
+47 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmCommonLib.inf
+45 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmCryptLib.inf
+36 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmDeviceSecretLibNull.inf
+59 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmRequesterLib.inf
+61 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmResponderLib.inf
+44 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmSecuredMessageLib.inf
+38 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmTransportMctpLib.inf
+38 −0 SecurityPkg/DeviceSecurity/SpdmLib/SpdmTransportPciDoeLib.inf
+1 −0 SecurityPkg/DeviceSecurity/SpdmLib/libspdm
+697 −0 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmAuthentication.c
+481 −0 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmConnectionInit.c
+714 −0 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmMeasurement.c
+148 −0 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmSecurityLib.c
+54 −0 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmSecurityLib.inf
+250 −0 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmSecurityLibInternal.h
+437 −0 SecurityPkg/Include/Library/SpdmSecurityLib.h
+22 −1 SecurityPkg/Include/Library/Tpm2CommandLib.h
+133 −0 SecurityPkg/Include/Protocol/DeviceSecurityPolicy.h
+78 −10 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.c
+121 −1 SecurityPkg/Library/Tpm2CommandLib/Tpm2NVStorage.c
+1 −1 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.inf
+221 −0 SecurityPkg/RandomNumberGenerator/RngPei/RngPei.c
+39 −0 SecurityPkg/RandomNumberGenerator/RngPei/RngPei.inf
+13 −0 SecurityPkg/RandomNumberGenerator/RngPei/RngPei.uni
+16 −6 SecurityPkg/SecurityPkg.ci.yaml
+13 −2 SecurityPkg/SecurityPkg.dec
+32 −3 SecurityPkg/SecurityPkg.dsc
+54 −7 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
+3 −1 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
+4 −4 pip-requirements.txt
2 changes: 1 addition & 1 deletion Features/CONFIG
Submodule CONFIG updated 41 files
+3 −3 .azurepipelines/MuDevOpsWrapper.yml
+10 −1 .cspell.json
+1 −0 .gitattributes
+1 −1 .github/workflows/auto-approve.yml
+1 −1 .github/workflows/auto-merge.yml
+13 −3 .github/workflows/codeql.yml
+1 −1 .github/workflows/issue-assignment.yml
+1 −1 .github/workflows/label-issues.yml
+1 −1 .github/workflows/label-sync.yml
+1 −1 .github/workflows/release-draft.yml
+1 −1 .github/workflows/stale.yml
+1 −1 .github/workflows/triage-issues.yml
+3 −1 .gitignore
+3 −3 .pytool/CISettings.py
+2 −2 SetupDataPkg/ConfApp/SetupConf.c
+11 −1 SetupDataPkg/Docs/ConfigurationFiles/ConfigurationFiles.md
+43 −2 SetupDataPkg/Docs/PlatformIntegration/PlatformIntegrationSteps.md
+6 −0 SetupDataPkg/Docs/Profiles/Overview.md
+0 −1 SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimDxeLib/GoogleTest/ConfigKnobShimDxeLibGoogleTest.inf
+0 −1 SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimDxeLib/UnitTest/ConfigKnobShimDxeLibUnitTest.inf
+0 −1 SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimMmLib/ConfigKnobShimMmLib.inf
+0 −1 SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimMmLib/UnitTest/ConfigKnobShimMmLibUnitTest.inf
+1 −1 SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimPeiLib/ConfigKnobShimPeiLib.inf
+0 −1 SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimPeiLib/GoogleTest/ConfigKnobShimPeiLibGoogleTest.inf
+0 −1 SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimPeiLib/UnitTest/ConfigKnobShimPeiLibUnitTest.inf
+1 −1 SetupDataPkg/Library/ConfigKnobShimLib/UnitTest/ConfigKnobShimLibUnitTestCommon.c
+48 −31 SetupDataPkg/Plugins/UpdateConfigHdr/UpdateConfigHdr.py
+5 −1 SetupDataPkg/SetupDataPkg.ci.yaml
+12 −6 SetupDataPkg/Tools/GenNCCfgData.py
+4 −4 SetupDataPkg/Tools/GenNCCfgData_test.py
+258 −194 SetupDataPkg/Tools/KnobService.py
+14 −6 SetupDataPkg/Tools/ReadUefiVarsToConfVarList.py
+5 −29 SetupDataPkg/Tools/SettingSupport/UefiVariablesSupportLib.py
+143 −0 SetupDataPkg/Tools/SettingSupport/UefiVariablesSupportLinuxLib.py
+21 −4 SetupDataPkg/Tools/VariableList.py
+13 −5 SetupDataPkg/Tools/WriteConfVarListToUefiVars.py
+8 −1 SetupDataPkg/Tools/configschema.xsd
+12 −8 SetupDataPkg/Tools/sampleschema.xml
+79 −25 SetupDataPkg/Tools/setup.py
+5 −5 pip-requirements.txt
+2 −2 py-requirements.txt
2 changes: 1 addition & 1 deletion MU_BASECORE
Submodule MU_BASECORE updated 208 files
4 changes: 4 additions & 0 deletions Platforms/AtollPkg/Atoll.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ GCC:*_*_AARCH64_CC_FLAGS = -DSILICON_PLATFORM=7125
!if $(USE_SIMPLEFBDXE) == TRUE
SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
!endif
SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf

# Auto Memory Adder
SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf
Expand All @@ -103,6 +104,9 @@ GCC:*_*_AARCH64_CC_FLAGS = -DSILICON_PLATFORM=7125
# Move PlatformMemoryMapLib to Device/<device>/Library
PlatformMemoryMapLib|AtollPkg/Device/$(TARGET_DEVICE)/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf

# Move PlatformConfigurationMapLib to Device/<device>/Library
PlatformConfigurationMapLib|AtollPkg/Device/$(TARGET_DEVICE)/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.inf


# Suggest you updating them to your device's dsc.inc.
#[PcdsDynamicDefault.common]
Expand Down
6 changes: 3 additions & 3 deletions Platforms/AtollPkg/Atoll.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ READ_LOCK_STATUS = TRUE
INF EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboardDxe.inf

# BDS
# INF SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf
INF SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf
INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
Expand Down Expand Up @@ -131,8 +131,8 @@ READ_LOCK_STATUS = TRUE
SECTION RAW = AtollPkg/Include/Resources/RegulatoryLogos.png
}

# INF SurfaceDuoFamilyPkg/UFP/ufpdevicefw.inf
# INF SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf
INF SurfaceDuoFamilyPkg/UFP/ufpdevicefw.inf
INF SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf

INF AdvLoggerPkg/AdvancedFileLogger/AdvancedFileLogger.inf
INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
#ifndef _DEVICE_CONFIGURATION_MAP_H_
#define _DEVICE_CONFIGURATION_MAP_H_

#define CONFIGURATION_NAME_MAX_LENGTH 64

typedef struct {
CHAR8 Name[CONFIGURATION_NAME_MAX_LENGTH];
UINT64 Value;
} CONFIGURATION_DESCRIPTOR_EX, *PCONFIGURATION_DESCRIPTOR_EX;
#include <Library/BaseLib.h>
#include <Library/PlatformConfigurationMapLib.h>

static CONFIGURATION_DESCRIPTOR_EX gDeviceConfigurationDescriptorEx[] = {
{"AbnormalResetOccurredOffset", 0x24},
Expand Down Expand Up @@ -62,4 +55,7 @@ static CONFIGURATION_DESCRIPTOR_EX gDeviceConfigurationDescriptorEx[] = {
/* Terminator */
{"Terminator", 0xFFFFFFFF}};

#endif
CONFIGURATION_DESCRIPTOR_EX *GetPlatformConfigurationMap()
{
return gDeviceConfigurationDescriptorEx;
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = PlatformHobLib
FILE_GUID = 59C11815-F8DA-4F5A-B4FB-EC1E41ED1F01
BASE_NAME = PlatformConfigurationMapLib
FILE_GUID = 59C11815-F8DA-3E51-B4FB-EC1E41ED1F01
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = PlatformHobLib
LIBRARY_CLASS = PlatformConfigurationMapLib

[Sources]
PlatformHobLib.c
PlatformConfigurationMapLib.c

[Packages]
ArmPkg/ArmPkg.dec
EmbeddedPkg/EmbeddedPkg.dec
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
QcomPkg/QcomPkg.dec
MdeModulePkg/MdeModulePkg.dec
EmbeddedPkg/EmbeddedPkg.dec
SurfaceDuoFamilyPkg/SurfaceDuoFamilyPkg.dec

[LibraryClasses]
Expand Down
Binary file modified Platforms/AtollPkg/Device/xiaomi-miatoll/ACPI/DSDT.aml
Binary file not shown.
Binary file not shown.
5 changes: 3 additions & 2 deletions Platforms/AtollPkg/Device/xiaomi-miatoll/APRIORI.inc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ APRIORI DXE {
INF FatPkg/EnhancedFatDxe/Fat.inf

# INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf
INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
# INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf
# INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf
INF SurfaceDuoFamilyPkg/Driver/DisplayCallerDxe/DisplayCallerDxe.inf

INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/DppDxe/DppDxe.inf
INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/RawFileSystemDxe/RawFileSystemDxe.inf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PanelName>FT8756 Video</PanelName>
<PanelDescription>FT8756 video mode dsi huaxing panel</PanelDescription>
<PanelId>0x8756</PanelId>
<Group id="Active Timing">
<HorizontalActive>1080</HorizontalActive>
<HorizontalFrontPorch>20</HorizontalFrontPorch>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PanelName>NT36675 Video</PanelName>
<PanelDescription>NT36675 video mode dsi tianma panel</PanelDescription>
<PanelId>0x36675</PanelId>
<Group id="Active Timing">
<HorizontalActive>1080</HorizontalActive>
<HorizontalFrontPorch>20</HorizontalFrontPorch>
Expand Down
2 changes: 2 additions & 0 deletions Platforms/AtollPkg/Device/xiaomi-miatoll/DXE.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3D
#Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/TrEEDxe/TpmDxe.inf
#Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/TrEEDxe/TrEEDxe.inf
#Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf
SurfaceDuoFamilyPkg/Driver/DisplayCallerDxe/DisplayCallerDxe.inf

AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VibratorDxe/VibratorDxe.inf
#AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/MinidumpTADxe/MinidumpTADxe.inf
Expand Down Expand Up @@ -93,6 +94,7 @@ AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Application/QcomChargerApp/Qco
# Device Specific Patched DXE
AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/ButtonsDxe.inf
AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/UFSDxe.inf
AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/DisplayDxe.inf
# Platform Specific Patched DXE
QcomPkg/PatchedBinaries/EnvDxe.inf
QcomPkg/PatchedBinaries/HALIOMMUDxe.inf
Expand Down
4 changes: 3 additions & 1 deletion Platforms/AtollPkg/Device/xiaomi-miatoll/DXE.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbfnChgDxe/UsbfnCh
INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf
INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf
#INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf
INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
#INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
INF SurfaceDuoFamilyPkg/Driver/DisplayCallerDxe/DisplayCallerDxe.inf

INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VibratorDxe/VibratorDxe.inf

Expand Down Expand Up @@ -104,6 +105,7 @@ INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Application/QcomChargerApp
# Device Specific Patched DXE
INF AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/ButtonsDxe.inf
INF AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/UFSDxe.inf
INF AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/DisplayDxe.inf
# Platform Specific Patched DXE
INF QcomPkg/PatchedBinaries/EnvDxe.inf
INF QcomPkg/PatchedBinaries/HALIOMMUDxe.inf
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
#ifndef _DEVICE_CONFIGURATION_MAP_H_
#define _DEVICE_CONFIGURATION_MAP_H_

#define CONFIGURATION_NAME_MAX_LENGTH 64

typedef struct {
CHAR8 Name[CONFIGURATION_NAME_MAX_LENGTH];
UINT64 Value;
} CONFIGURATION_DESCRIPTOR_EX, *PCONFIGURATION_DESCRIPTOR_EX;
#include <Library/BaseLib.h>
#include <Library/PlatformConfigurationMapLib.h>

static CONFIGURATION_DESCRIPTOR_EX gDeviceConfigurationDescriptorEx[] = {
{"AbnormalResetOccurredOffset", 0x24},
Expand Down Expand Up @@ -61,4 +54,7 @@ static CONFIGURATION_DESCRIPTOR_EX gDeviceConfigurationDescriptorEx[] = {
/* Terminator */
{"Terminator", 0xFFFFFFFF}};

#endif
CONFIGURATION_DESCRIPTOR_EX *GetPlatformConfigurationMap()
{
return gDeviceConfigurationDescriptorEx;
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = PlatformHobLib
FILE_GUID = 59C11815-F8DA-4F5A-B4FB-EC1E41ED1F01
BASE_NAME = PlatformConfigurationMapLib
FILE_GUID = 59C11815-F8DA-3E51-B4FB-EC1E41ED1F01
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = PlatformHobLib
LIBRARY_CLASS = PlatformConfigurationMapLib

[Sources]
PlatformHobLib.c
PlatformConfigurationMapLib.c

[Packages]
ArmPkg/ArmPkg.dec
EmbeddedPkg/EmbeddedPkg.dec
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
QcomPkg/QcomPkg.dec
MdeModulePkg/MdeModulePkg.dec
EmbeddedPkg/EmbeddedPkg.dec
SurfaceDuoFamilyPkg/SurfaceDuoFamilyPkg.dec

[LibraryClasses]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
E\z�!�C�|�/�_�iv� �zH��(�{E��A|�[`�[C�[<>�+�Q-����l�H�U��B��O�f�l�MB�b�ӵ����GoUiB�(.��욭�{ H��00�=���z�>M�\�m�����$_�lO��Ž�y��
Expand Down
Binary file not shown.
Loading

0 comments on commit 7aa666c

Please sign in to comment.