diff --git a/sys/arch/arc/arc/arcbios.h b/sys/arch/arc/arc/arcbios.h index 38a6f7475ff1..79433b924f3f 100644 --- a/sys/arch/arc/arc/arcbios.h +++ b/sys/arch/arc/arc/arcbios.h @@ -1,4 +1,4 @@ -/* $NetBSD: arcbios.h,v 1.8 2005/12/11 12:16:37 christos Exp $ */ +/* $NetBSD: arcbios.h,v 1.9 2006/08/31 19:23:44 tsutsui Exp $ */ /* $OpenBSD: arcbios.h,v 1.1 1998/01/29 15:06:22 pefo Exp $ */ /*- @@ -210,17 +210,23 @@ typedef struct arc_calls char **, /* argv */ char **); /* envp */ - volatile void (*halt)(void); /* Halt 4 */ + void (*halt)(void) + __attribute__((__noreturn__)); /* Halt 4 */ - volatile void (*power_down)(void); /* PowerDown 5 */ + void (*power_down)(void) + __attribute__((__noreturn__)); /* PowerDown 5 */ - volatile void (*restart)(void); /* Restart 6 */ + void (*restart)(void) + __attribute__((__noreturn__)); /* Restart 6 */ - volatile void (*reboot)(void); /* Reboot 7 */ + void (*reboot)(void) + __attribute__((__noreturn__)); /* Reboot 7 */ - volatile void (*enter_interactive_mode)(void); /* EnterInteractiveMode 8 */ + void (*enter_interactive_mode)(void) + __attribute__((__noreturn__)); /* EnterInteractiveMode 8 */ - volatile void (*return_from_main)(void); /* ReturnFromMain 9 */ + void (*return_from_main)(void) + __attribute__((__noreturn__)); /* ReturnFromMain 9 */ arc_config_t *(*get_peer)( /* GetPeer 10 */ arc_config_t *); /* Component */