4.104.114.84.95
Last change
on this file since 8d7a1d76 was
c486e917,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/18/96 at 19:06:19
|
changed reboot to a macro to avoid the "noreturn returns" warning.
|
-
Property mode set to
100644
|
File size:
418 bytes
|
Line | |
---|
1 | /* efi68k.h |
---|
2 | * |
---|
3 | * $Id$ |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _EFI68k_H_ |
---|
7 | #define _EFI68k_H_ |
---|
8 | |
---|
9 | |
---|
10 | /* interrupt levels */ |
---|
11 | #define WD_ISR_LEVEL 1 |
---|
12 | #define TCP_ISR_LEVEL 4 |
---|
13 | #define UART_ISR_LEVEL 6 |
---|
14 | #define INTR7 7 |
---|
15 | |
---|
16 | |
---|
17 | /* macro/function definitions */ |
---|
18 | #if 0 |
---|
19 | static void reboot(void) __attribute__ ((noreturn)); |
---|
20 | __inline__ static void reboot() {asm("trap #15");} |
---|
21 | #else |
---|
22 | #define reboot() do {asm("trap #15");} while(0) |
---|
23 | #endif |
---|
24 | |
---|
25 | |
---|
26 | #endif /* _EFI68k_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.