source: trunk/hal/x86_64/drivers/soclib_pic.c @ 145

Last change on this file since 145 was 76, checked in by max@…, 7 years ago

empty out the x86 drivers

File size: 1.4 KB
RevLine 
[75]1/*
2 * soclib_pic.c - soclib PIC driver implementation.
3 *
4 * Author  Alain Greiner (2016)
5 * *
6 * Copyright (c) UPMC Sorbonne Universites
7 *
8 * This file is part of ALMOS-MKH.
9 *
10 * ALMOS-MKH. is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; version 2.0 of the License.
13 *
14 * ALMOS-MKH. is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with ALMOS-MKH.; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23
24#include <hal_types.h>
25#include <chdev.h>
26#include <soclib_pic.h>
27#include <soclib_xcu.h>
28#include <errno.h>
29#include <string.h>
30#include <vfs.h>
31
32void soclib_pic_init( chdev_t  * chdev )
33{
34
35}
36
37void soclib_pic_bind_irq( xptr_t     dev_xp,
38                          uint32_t   irq_id,
39                          xptr_t     xp_wti )
40{
41
42}
43
44void soclib_pic_unbind_irq( xptr_t     dev_xp,
45                            uint32_t   irq_id )
46{
47
48}
49
50void soclib_pic_get_status( xptr_t     dev_xp,
51                            uint32_t   irq_id,
52                            uint32_t * status)
53{
54
55}
56
Note: See TracBrowser for help on using the repository browser.