-
Notifications
You must be signed in to change notification settings - Fork 2.8k
DynamicTablesPkg: Add CEDT table generation #11010
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
DynamicTablesPkg: Add CEDT table generation #11010
Conversation
0e2342c
to
1a65675
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello Nick,
Thanks for the PR, I added a few comments.
I haven't checked the tests yet, but would it be possible to place them in another patch/commit ?
Regards,
Pierre
DynamicTablesPkg/Library/Acpi/Common/AcpiCedtLib/CedtGenerator.c
Outdated
Show resolved
Hide resolved
DynamicTablesPkg/Library/Acpi/Common/AcpiCedtLib/CedtGenerator.c
Outdated
Show resolved
Hide resolved
DynamicTablesPkg/Library/Acpi/Common/AcpiCedtLib/CedtGenerator.c
Outdated
Show resolved
Hide resolved
7ce03b2
to
79ea2ab
Compare
Done, moved tests to a separate commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello Nicholas,
I should have answered + I went through the test file this time
DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
Show resolved
Hide resolved
DynamicTablesPkg/Library/Acpi/Common/AcpiCedtLib/GoogleTest/CedtGeneratorGoogleTest.cpp
Outdated
Show resolved
Hide resolved
DynamicTablesPkg/Library/Acpi/Common/AcpiCedtLib/GoogleTest/CedtGeneratorGoogleTest.cpp
Outdated
Show resolved
Hide resolved
Also, would it be possible to run the following command and fix the reported issues ?
|
a45457f
to
0087545
Compare
Fixed everything except an error about GoogleTestLib not being used in LibraryClasses, but removing GoogleTestLib breaks the tests. |
39c223d
to
2720dbf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the modifications !
The PR is ok for me, but we can only merge it after the 23/05, cf: https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestion to add a comment for the macro definition.
Otherwise this PR looks good to me.
- Add objects for CEDT CHBS and CEDT CFMWS. These describe CXL host bridges and CXL fixed memory windows, respectively. Signed-off-by: Nick Graves <[email protected]>
- Generate CEDT table from ConfigurationManager objects. - Only CHBS and CFMWS sub-tables are supported currently. Signed-off-by: Nick Graves <[email protected]>
- Add unit tests for CEDT generator. Signed-off-by: Nick Graves <[email protected]>
2720dbf
to
1d98198
Compare
Good suggestion, I added a comment. Anything else to address? If not, can we target a merge early next week? |
Description
Add namespace objects for CEDT table generation.
Add generator to create CEDT table
Add unit tests for generator.
Breaking change?
Impacts security?
Includes tests?
How This Was Tested
Integration Instructions
N/A