source: rtems/c/src/lib/libbsp/m68k/efi68k/include/efi68k.h @ c486e917

4.104.114.84.95
Last change on this file since c486e917 was c486e917, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 18, 1996 at 7:06:19 PM

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
19static 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.