1/**
2 * \file
3 * \brief Header file for classic 8259A PIC
4 */
5
6/*
7 * Copyright (c) 2007, 2008, ETH Zurich.
8 * All rights reserved.
9 *
10 * This file is distributed under the terms in the attached LICENSE file.
11 * If you do not find this file, copies can be found by writing to:
12 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
13 */
14
15#ifndef PIC_H
16#define PIC_H
17
18void pic_init(void);
19bool pic_have_interrupt(int irq);
20int pic_pending_interrupt(void);
21void pic_eoi(int irq);
22void pic_toggle_irq(int irq, bool enable);
23
24#endif
25