irq.c (08118672d06c8d2fb937cab5c97b2dfdc8786520) irq.c (18c86e2b9d85a89818f485c2cadafa6e3932e43a)
1/*
2 * QEMU IRQ/GPIO common code.
3 *
4 * Copyright (c) 2007 CodeSourcery.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 7 unchanged lines hidden (view full) ---

16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 */
1/*
2 * QEMU IRQ/GPIO common code.
3 *
4 * Copyright (c) 2007 CodeSourcery.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 7 unchanged lines hidden (view full) ---

16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 */
24#include "qemu/osdep.h"
24#include "qemu-common.h"
25#include "hw/irq.h"
26#include "qom/object.h"
27
28#define IRQ(obj) OBJECT_CHECK(struct IRQState, (obj), TYPE_IRQ)
29
30struct IRQState {
31 Object parent_obj;

--- 127 unchanged lines hidden ---
25#include "qemu-common.h"
26#include "hw/irq.h"
27#include "qom/object.h"
28
29#define IRQ(obj) OBJECT_CHECK(struct IRQState, (obj), TYPE_IRQ)
30
31struct IRQState {
32 Object parent_obj;

--- 127 unchanged lines hidden ---