Menu

#44 Complete protocol struct/type/define renaming to match specs

Unstable_(example)
closed
None
5
2016-08-15
2016-08-15
Pete Batard
No

This patch is a follow up to 8118d08727f437caf1fd6096756ec9f73ee36b19 and completes the renaming of structs, defines, and typedefs to match the naming convention from the latest UEFI specifications. This should make it easier for people to switch between EDK2 and gnu-efi compilation.

The original names are #defined or typedef'd to the new names for backwards compatibility.

Also some whitespace cleanup was applied.

Note 1: From what I could see of the EDK API documentation, structs are being aliased to their old names using typedef rather than #define, so that's what I used. I altered some of the #define from 8118d0 accordingly

Note 2: I also think it might be more helpful for users to keep the backwards compatibility defs close to their declaration (e.g. old GUID def right after current GUID declaration), rather than in a separate section as was done in 8118d0, so that's what I did in this patch.

1 Attachments

Discussion

  • Nigel Croxon

    Nigel Croxon - 2016-08-15
    • status: open --> closed
    • assigned_to: Nigel Croxon
     
  • Nigel Croxon

    Nigel Croxon - 2016-08-15

    Thank you Pete.

    Accepted and pushed up.

    commit 1b10394e06962ac24ca7224e065d3374f7ba189e

     
  • Pete Batard

    Pete Batard - 2016-08-15

    Thanks Nigel -- much appreciated!

     

Log in to post a comment.

MongoDB Logo MongoDB