xref: /kvmtool/powerpc/xics.h (revision e016c60dc68d46d5b552e9dde0654376893cb14f)
1*f17e5a37SMatt Evans /*
2*f17e5a37SMatt Evans  * PAPR Virtualized Interrupt System, aka ICS/ICP aka xics
3*f17e5a37SMatt Evans  *
4*f17e5a37SMatt Evans  * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation.
5*f17e5a37SMatt Evans  *
6*f17e5a37SMatt Evans  * This program is free software; you can redistribute it and/or modify it
7*f17e5a37SMatt Evans  * under the terms of the GNU General Public License version 2 as published
8*f17e5a37SMatt Evans  * by the Free Software Foundation.
9*f17e5a37SMatt Evans  */
10*f17e5a37SMatt Evans 
11*f17e5a37SMatt Evans #ifndef XICS_H
12*f17e5a37SMatt Evans #define XICS_H
13*f17e5a37SMatt Evans 
14*f17e5a37SMatt Evans #define XICS_IPI        0x2
15*f17e5a37SMatt Evans 
16*f17e5a37SMatt Evans int xics_alloc_irqnum(void);
17*f17e5a37SMatt Evans 
18*f17e5a37SMatt Evans #endif
19