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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [ppcn_60x/] [include/] [extisrdrv.h] - Blame information for rev 621

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

Line No. Rev Author Line
1 30 unneback
/*  extisrdrv.h
2
 *
3
 *  This file describes the external interrupt driver
4
 *
5
 */
6
 
7
#ifndef __EXT_ISR_DRIVER_H
8
#define __EXT_ISR_DRIVER_H
9
 
10
#ifdef __cplusplus
11
extern "C" {
12
#endif
13
 
14
/* variables */
15
 
16
extern rtems_device_major_number rtems_externalISR_major;
17
extern rtems_device_minor_number rtems_externalISR_minor;
18
 
19
/* default external ISR driver entry */
20
 
21
#define EXTISR_DRIVER_TABLE_ENTRY \
22
  { ExternalISR_initialize, NULL, NULL, NULL, NULL, ExternalISR_control }
23
 
24
rtems_device_driver ExternalISR_initialize(
25
  rtems_device_major_number,
26
  rtems_device_minor_number,
27
  void *
28
);
29
 
30
rtems_device_driver ExternalISR_control(
31
  rtems_device_major_number major,
32
  rtems_device_minor_number minor,
33
  void *pargp
34
);
35
 
36
#ifdef __cplusplus
37
}
38
#endif
39
 
40
#endif
41
/* end of include file */

powered by: WebSVN 2.1.0

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