arch/x86: Make sure compiler knows we're stopping in hlt()
commit96f26d15ee740318b43d196b618a756edad71cdd
authorMartin Roth <martin@coreboot.org>
Sat, 14 Aug 2021 17:10:50 +0000 (14 11:10 -0600)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 28 Sep 2021 19:04:50 +0000 (28 19:04 +0000)
tree162429fe2725399f947b3969092b7117eb107ed0
parentd3b6d84e11ffa19c7d9f9f9cfaadf1c8256c1d5e
arch/x86: Make sure compiler knows we're stopping in hlt()

Currently, static analyzers don't recognize that hlt() doesn't return,
so they show errors like uninitialized variables assuming that it does
return.  This takes care of that problem.

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: Ia2325700b10fe1f89d749edfe5aee72b47d02f2e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56978
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
src/arch/x86/include/arch/hlt.h