]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Core: Decorate phase-transition functions with NORETURN.
authorMarvin H?user <Marvin.Haeuser@outlook.com>
Sun, 19 Jun 2016 01:31:16 +0000 (09:31 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 22 Jun 2016 01:37:18 +0000 (09:37 +0800)
commit3a7daf9eb028bdbfc16db12c4625cca10a083ba1
treeedf0c2e5375664b6e7145251693a6aa3e9ff1c2b
parent90eda6fc279744c3ab200c149e4b75ed0c5dabf0
MdeModulePkg/Core: Decorate phase-transition functions with NORETURN.

This patch adds the NORETURN attribute to functions that transfer to
other phases, along with an UNREACHABLE() call at the end to avoid
false warnings.
DxeIpl has been excluded as its main function returns a status.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
MdeModulePkg/Core/Pei/PeiMain.h
MdeModulePkg/Core/Pei/PeiMain/PeiMain.c