summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2026-01-09 21:43:30 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-01-15 20:10:46 +0300
commit969879cb28d15a4de562ad9b63b0f6b72b8cb7c2 (patch)
treedeea2a15231fa10c9ff24aa55535c8416b35c7a5 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parent047819264109f84d81acc835cb131e3583fc7319 (diff)
downloadedk2-969879cb28d15a4de562ad9b63b0f6b72b8cb7c2.tar.xz
MdePkg, ArmPkg, ArmPlatformPkg: Create VECTOR_TABLE Macro
Currently, there exists VECTOR_BASE, VECTOR_ENTRY, and VECTOR_END macros for defining things such as exception vectors. They are intended to be used as follows: VECTOR_BASE() VECTOR_ENTRY() <some code> <more VECTOR_ENTRY() code pairings> VECTOR_END() This creates a non-enforceable requirement to do this, if VECTOR_END isn't used, the vector size isn't enforced and the image section won't be restored to .text. This commit removes VECTOR_BASE and VECTOR_END and creates a VECTOR_TABLE macro that encapsulates the behavior of the two macros, sandwiching the developer provided VECTOR_ENTRY and code pairings inbetween. This enforces that VECTOR_BASE and VECTOR_END are used together and correctly set up/tear down the vector area. This commit also updates the only users of these macros at the same time to avoid a build breakage. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions