aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-06-15 23:03:05 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-06-15 23:03:05 -0400
commit0b60a062da0c28ed4779ab707c64dde6d3af8ef1 (patch)
treef9b4672315245ab52c2f59c94718c66522087b87 /src/types.h
parent4d863fe762bac06f77e1884741f1ab48b27c64bc (diff)
downloadseabios-hppa-0b60a062da0c28ed4779ab707c64dde6d3af8ef1.zip
seabios-hppa-0b60a062da0c28ed4779ab707c64dde6d3af8ef1.tar.gz
seabios-hppa-0b60a062da0c28ed4779ab707c64dde6d3af8ef1.tar.bz2
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.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index aa9e12d..9f93e0b 100644
--- a/src/types.h
+++ b/src/types.h
@@ -50,6 +50,7 @@ union u64_u32_u {
# define VAR16FIXED(addr) __aligned(1) __VISIBLE __section(".fixedaddr." __stringify(addr))
// Designate top-level assembler as 16bit only.
# define ASM16(code) __ASM(code)
+// Designate top-level assembler as 32bit only.
# define ASM32(code)
#else
# define VISIBLE16