|
|
1.1 root 1: /*
2: * Copyright (C) 2011 Free Software Foundation
3: *
4: * This program is free software ; you can redistribute it and/or modify
5: * it under the terms of the GNU General Public License as published by
6: * the Free Software Foundation ; either version 2 of the License, or
7: * (at your option) any later version.
8: *
9: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY ; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13: *
14: * You should have received a copy of the GNU General Public License
15: * along with the program ; if not, write to the Free Software
16: * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17: */
18:
19: #ifndef LINUX_DEV_GLUE_GLUE_H
20: #define LINUX_DEV_GLUE_GLUE_H
21:
22: #include <vm/vm_types.h>
23: #include <mach/machine/vm_types.h>
24:
25: extern int linux_auto_config;
26: extern int linux_intr_pri;
27:
28: extern void *alloc_contig_mem (unsigned, unsigned, unsigned, vm_page_t *);
29: extern void free_contig_mem (vm_page_t);
30: extern void init_IRQ (void);
31: extern void restore_IRQ (void);
32: extern void linux_kmem_init (void);
33: extern void linux_net_emulation_init (void);
34: extern void device_setup (void);
35: extern void linux_timer_intr (void);
36: extern void linux_bad_intr (int);
37: extern void linux_sched_init (void);
38: extern void pcmcia_init (void);
39: extern void linux_soft_intr (void);
40: extern int issig (void);
41: extern int linux_to_mach_error (int);
42: extern char *get_options(char *str, int *ints);
43:
44: #endif /* LINUX_DEV_GLUE_GLUE_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.