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

MdePkg: Convert new normal debug info to separate struct #59

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

mikebeaton
Copy link
Contributor

The intention here is to enable old tools encountering the new standard format to understand that they don't understand the layout.

This will break old tools in situations where they could have worked, i.e. where what is loaded is in fact a PE, but it seems preferable to allow new tools, which are aware of the new structure fields, to reliably detect and access these whenever they are present.

@mikebeaton
Copy link
Contributor Author

As discussed by PM with @mhaeuser, it seems preferable to increment (or at least change to something else?) this value, in order that existing debug tools encountering the new format can reject it, and so that new debug tools can reliably detect when the new debug info fields are present.

MdePkg/Include/Guid/DebugImageInfoTable.h Outdated Show resolved Hide resolved
MdePkg/Include/Guid/DebugImageInfoTable.h Outdated Show resolved Hide resolved
@mikebeaton
Copy link
Contributor Author

mikebeaton commented Nov 27, 2023

Needs a little further work after discussion by PM with @mhaeuser - will update shortly. Done.

@mikebeaton mikebeaton marked this pull request as draft November 27, 2023 10:15
@mikebeaton mikebeaton force-pushed the image-info-type branch 4 times, most recently from 622a56d to 3e6fb77 Compare November 27, 2023 22:37
@mikebeaton mikebeaton changed the title MdePkg: Increment EFI_DEBUG_IMAGE_INFO_TYPE_NORMAL MdePkg: Convert new normal debug info to separate struct Nov 28, 2023
@mikebeaton mikebeaton force-pushed the image-info-type branch 2 times, most recently from a908d1d to 3b1a9fd Compare November 28, 2023 08:14
@mikebeaton
Copy link
Contributor Author

mikebeaton commented Nov 28, 2023

@mhaeuser - I think it needed these slightly more extensive changes to match the what we discussed by PM. Does this look about right? (At least modulo the two comments I've added now.)

@mikebeaton mikebeaton marked this pull request as draft November 28, 2023 19:09
@mikebeaton mikebeaton force-pushed the image-info-type branch 2 times, most recently from c95e9b8 to 31fd8e7 Compare November 29, 2023 22:10
@mikebeaton mikebeaton marked this pull request as ready for review November 29, 2023 23:19
@mikebeaton
Copy link
Contributor Author

I think I've got there now. Is someone able to scan through and re-check?

@mikebeaton mikebeaton marked this pull request as ready for review November 30, 2023 07:27
@mikebeaton mikebeaton merged commit 948e8e8 into acidanthera:master Dec 7, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants