Unify mode16/32 compiler checks.
authorKevin O'Connor <kevin@koconnor.net>
Tue, 16 Jun 2009 03:03:05 +0000 (23:03 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 16 Jun 2009 03:03:05 +0000 (23:03 -0400)
commit0b60a062da0c28ed4779ab707c64dde6d3af8ef1
treef9b4672315245ab52c2f59c94718c66522087b87
parent4d863fe762bac06f77e1884741f1ab48b27c64bc
Unify mode16/32 compiler checks.

Add ASSERT16/ASSERT32 macros to farptr.h.
Use those macros in place of open-coded checks.
Add "noreturn" attribute to functions to reduce compiler warnings.
Add ASSERT32 to smp_probe() to eliminate 16bit assembler warnings.
src/biosvar.h
src/farptr.h
src/smpdetect.c
src/types.h
src/util.c
src/util.h