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

4.104.114.84.95
Last change on this file since a858910 was 437366f, checked in by Joel Sherrill <joel.sherrill@…>, on 04/07/97 at 21:25:42

removed noreturn from prototype to avoid warnings.

  • Property mode set to 100644
File size: 598 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/*
20 *  This prototype really should have the noreturn attribute but
21 *  that causes a warning since it appears that the routine does
22 *  return.
23 *
24 *   void dumby_start ()  __attribute__ ((noreturn));
25 */
26
27static void reboot(void);
28__inline__ static void reboot() {asm("trap #15");}
29#else
30#define reboot() do {asm("trap #15");} while(0)
31#endif
32
33     
34#endif /* _EFI68k_H_ */
Note: See TracBrowser for help on using the repository browser.