]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/SecCore/SecMain.c
UefiCpuPkg/SecMain: Decorate phase-transition function with NORETURN.
authorMarvin H?user <Marvin.Haeuser@outlook.com>
Sun, 19 Jun 2016 01:31:58 +0000 (09:31 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 22 Jun 2016 01:37:22 +0000 (09:37 +0800)
commit61257251b2f48ceac54fea42665e1f2e63dbb46e
tree2b903b260ac22545bff4a5e463e89046688dc63e
parent3a7daf9eb028bdbfc16db12c4625cca10a083ba1
UefiCpuPkg/SecMain: Decorate phase-transition function with NORETURN.

This patch adds the NORETURN attribute to the function that transfers
to the PEI phase, along with an UNREACHABLE() call at the end to
avoid false warnings.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
UefiCpuPkg/SecCore/SecMain.c