Deleted Added
full compact
intr_machdep.h (218075) intr_machdep.h (218184)
1/*-
2 * Copyright (C) 2002 Benno Rice.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

17 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
18 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
1/*-
2 * Copyright (C) 2002 Benno Rice.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

17 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
18 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: head/sys/powerpc/include/intr_machdep.h 218075 2011-01-29 20:58:38Z marcel $
25 * $FreeBSD: head/sys/powerpc/include/intr_machdep.h 218184 2011-02-02 05:58:51Z marcel $
26 */
27
28#ifndef _MACHINE_INTR_MACHDEP_H_
29#define _MACHINE_INTR_MACHDEP_H_
30
31#define INTR_VECTORS 256
32
33#define MAX_PICS 5
26 */
27
28#ifndef _MACHINE_INTR_MACHDEP_H_
29#define _MACHINE_INTR_MACHDEP_H_
30
31#define INTR_VECTORS 256
32
33#define MAX_PICS 5
34#define INTR_VEC(node, pin) powerpc_get_irq(node, pin)
34#define MAP_IRQ(node, pin) powerpc_get_irq(node, pin)
35
36/*
37 * Default base address for MSI messages on PowerPC
38 */
39#define MSI_INTEL_ADDR_BASE 0xfee00000
40
41extern device_t root_pic;
42

--- 18 unchanged lines hidden ---
35
36/*
37 * Default base address for MSI messages on PowerPC
38 */
39#define MSI_INTEL_ADDR_BASE 0xfee00000
40
41extern device_t root_pic;
42

--- 18 unchanged lines hidden ---