OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [efi68k/] [include/] [efi68k.h] - Blame information for rev 594

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  efi68k.h
2
 *
3
 *  $Id: efi68k.h,v 1.2 2001-09-27 12:00:03 chris Exp $
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
 
27
static 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_ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.