diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-07-21 21:36:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-07-21 21:36:41 +0000 |
commit | 4d933dd2d686879e0c27839d3f9046e348580da8 (patch) | |
tree | bd1a1d18a8d61b967f2492760cdbdf8f12fb54e8 /src/include/pc80 | |
parent | c366cd065001269afe92aa8eb8d6adf51fbd0bc7 (diff) |
Rewrite interrupt handling in coreboot to be more comprehensible and
more flexible. Also some minore device allocator cleanups that sneaked
in.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4452 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/pc80')
-rw-r--r-- | src/include/pc80/i8259.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/pc80/i8259.h b/src/include/pc80/i8259.h index 48e8df58d9..c55ae21557 100644 --- a/src/include/pc80/i8259.h +++ b/src/include/pc80/i8259.h @@ -22,4 +22,8 @@ void setup_i8259(void); +#define IRQ_LEVEL_TRIGGERED 1 +#define IRQ_EDGE_TRIGGERED 0 +void i8259_configure_irq_trigger(int int_num, int is_level_triggered); + #endif /* PC80_I8259_H */ |