Skip to content

Commit

Permalink
SignedCapsulePkg: make Doxygen interpret ASCII art as verbatim text
Browse files Browse the repository at this point in the history
By default, Doxygen tries to nicely format all text within doc blocks.
Unfortunately this mangles ASCII art: add @verbatim statements
to EdkiiSystemFmpCapsule.h to cause Doxygen to display the text as
provided.

Signed-off-by: Rebecca Cran <[email protected]>
  • Loading branch information
bexcran authored and mergify[bot] committed Feb 4, 2025
1 parent 259e1f0 commit fe5c2df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define __EDKII_SYSTEM_FMP_CAPSULE_GUID_H__

/**
@verbatim
1. Capsule Layout is below:
+------------------------------------------+
| Capsule Header (OPTIONAL, WFU) | <== ESRT.FwClass (Optional)
Expand Down Expand Up @@ -82,7 +82,7 @@
NOTE: The [Name?] entry may have different FileGuid.
Only the one, whose FileGuid matches PcdEdkiiSystemFirmwareFileGuid, takes effect.
The other entry is ignored.
@endverbatim
**/

#define EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR_SIGNATURE SIGNATURE_32('S', 'F', 'I', 'D')
Expand Down Expand Up @@ -121,6 +121,7 @@ typedef struct {
#pragma pack()

/**
@verbatim
System Firmware Image Descriptor is below:
+----------------------+
| System Firmware (FV) |
Expand All @@ -135,6 +136,7 @@ typedef struct {
| |
| |
+----------------------+
@endverbatim
**/

extern EFI_GUID gEdkiiSystemFirmwareImageDescriptorFileGuid;
Expand Down

0 comments on commit fe5c2df

Please sign in to comment.