Skip to content

Commit

Permalink
PrmPkg: Changes for edk2 repo transition
Browse files Browse the repository at this point in the history
Updates the Readme.md files to remove information that was specific
to the package in edk2-staging and adds key definitions being added
for PRM support in the ACPI Specification.

Adds PrmPkg/PrmPkg.ci.yaml to support CI.

Adds PrmPkg to .pytool/CISettings.py.

Adds PrmPkg maintainers to Maintainers.txt.

Cc: Andrew Fish <afish@apple.com>
Cc: Kang Gao <kang.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Benjamin You <benjamin.you@intel.com>
Cc: Liu Yun <yun.y.liu@intel.com>
Cc: Ankit Sinha <ankit.sinha@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Liming Gao <gaoliming@byosoft.com.cn>
Acked-by: Leif Lindholm <quic_llindhol@quicinc.com>
Reviewed-by: Ankit Sinha <ankit.sinha@intel.com>
  • Loading branch information
makubacki authored and mergify[bot] committed Apr 5, 2022
1 parent deea4e5 commit f3c1122
Show file tree
Hide file tree
Showing 6 changed files with 189 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .azurepipelines/templates/pr-gate-build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
Build.Pkgs: 'NetworkPkg,RedfishPkg'
Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
TARGET_OTHER:
Build.Pkgs: 'PcAtChipsetPkg,ShellPkg,StandaloneMmPkg'
Build.Pkgs: 'PcAtChipsetPkg,PrmPkg,ShellPkg,StandaloneMmPkg'
Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
TARGET_FMP_FAT_TEST:
Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTablesPkg'
Expand Down
1 change: 1 addition & 0 deletions .pytool/CISettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def GetPackagesSupported(self):
"StandaloneMmPkg",
"FatPkg",
"CryptoPkg",
"PrmPkg",
"UnitTestFrameworkPkg",
"OvmfPkg",
"RedfishPkg",
Expand Down
8 changes: 8 additions & 0 deletions Maintainers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,14 @@ F: PcAtChipsetPkg/
W: https://github.com/tianocore/tianocore.github.io/wiki/PcAtChipsetPkg
M: Ray Ni <ray.ni@intel.com> [niruiyu]

PrmPkg
F: PrmPkg/
M: Michael Kubacki <mikuback@linux.microsoft.com> [makubacki]
M: Nate DeSimone <nathaniel.l.desimone@intel.com> [nate-desimone]

PrmPkg: ACPI related modules
R: Ankit Sinha <ankit.sinha@intel.com> [ankit13s]

RedfishPkg: Redfish related modules
F: RedfishPkg/
M: Abner Chang <abner.chang@hpe.com> [changab]
Expand Down
110 changes: 110 additions & 0 deletions PrmPkg/PrmPkg.ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
## @file
# CI configuration for PrmPkg
#
# Copyright (c) Microsoft Corporation<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined .pytool/Plugin/LicenseCheck
"LicenseCheck": {
"IgnoreFiles": []
},

"EccCheck": {
## Exception sample looks like below:
## "ExceptionList": [
## "<ErrorID>", "<KeyWord>"
## ]
"ExceptionList": [
"5001", "PRM_HANDLER_EXPORT",
"8006", "PRM_HANDLER_EXPORT"
],
## Both file path and directory path are accepted.
"IgnoreFiles": [
"Library/DxePrmContextBufferLib/UnitTest",
"Library/DxePrmModuleDiscoveryLib/UnitTest",
"Samples",
"Test"
]
},

## options defined .pytool/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "PrmPkg.dsc"
},

## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
"HostUnitTestCompilerPlugin": {
"DscPath": "Test/PrmPkgHostTest.dsc"
},

## options defined .pytool/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},

## options defined .pytool/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdeModulePkg/MdeModulePkg.dec",
"MdePkg/MdePkg.dec",
"PrmPkg/PrmPkg.dec",
"ShellPkg/ShellPkg.dec",
"UefiCpuPkg/UefiCpuPkg.dec"
],
# For host based unit tests
"AcceptableDependencies-HOST_APPLICATION":[
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
],
# For UEFI shell based apps
"AcceptableDependencies-UEFI_APPLICATION":[],
"IgnoreInf": []
},

## options defined .pytool/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "PrmPkg.dsc"
},

## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": [""],
"DscPath": "Test/PrmPkgHostTest.dsc"
},

## options defined .pytool/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": [],
},

## options defined .pytool/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreHeaderFile": []
},

## options defined .pytool/Plugin/SpellCheck
"SpellCheck": {
"AuditOnly": False,
"IgnoreFiles": [], # use gitignore syntax to ignore errors
# in matching files
"ExtendWords": [ # words to extend to the dictionary for this package
"buffe", # note: appears in buffer ascii dump in documentation
"iptor", # note: appears in buffer ascii dump in documentation
"keepoptionalheader",
"odule", # note: appears in buffer ascii dump in documentation
"oemid",
"prmopreg",
"prmpecofflib",
"prmpkg",
"prmssdtinstall"
],
"IgnoreStandardPaths": [], # Standard Plugin defined paths that
# should be ignore
"AdditionalIncludePaths": [] # Additional paths to spell check
# (wildcards supported)
}
}
Loading

0 comments on commit f3c1122

Please sign in to comment.