Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added invlpg support
[palacios.git] / palacios / include / palacios / vmm_irq.h
1 #ifndef __VMM_IRQ_H
2 #define __VMM_IRQ_H
3
4 #if 0
5 #include <palacios/vmm_types.h>
6
7
8 struct vmm_irq_hook;
9
10
11
12
13 struct vmm_irq_hook {
14   uint_t irq;
15   void * private_data;
16
17   int(*handler)(uint_t irq, void * private_data);
18
19   struct vmm_irq_hook *next, *prev;
20 };
21
22
23 void init_irq_map(struct vmm_irq_map * map);
24
25
26 int hook_irq(struct vmm_irq_map * map, uint_t irq, 
27              int(*handler)(uint_t irq, void * private_data), 
28              void * private_data);
29
30
31 int unhook_irq(struct vmm_irq_map * map, uint_t irq);
32
33 struct vmm_irq_hook * get_irq_hook(struct vmm_irq_map * map, uint_t irq);
34
35 #endif
36 #endif