openpicvar.h (9b4fcf851a73554063d4a2de9a4f10cd23a0a4f6) openpicvar.h (c47dd3db8cf22114267360dddb4b0334b997db0c)
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

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

52/*
53 * Bus-independent attach i/f
54 */
55int openpic_common_attach(device_t, uint32_t);
56
57/*
58 * PIC interface.
59 */
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

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

52/*
53 * Bus-independent attach i/f
54 */
55int openpic_common_attach(device_t, uint32_t);
56
57/*
58 * PIC interface.
59 */
60void openpic_bind(device_t dev, u_int irq, cpumask_t cpumask);
60void openpic_bind(device_t dev, u_int irq, cpuset_t cpumask);
61void openpic_config(device_t, u_int, enum intr_trigger, enum intr_polarity);
62void openpic_dispatch(device_t, struct trapframe *);
63void openpic_enable(device_t, u_int, u_int);
64void openpic_eoi(device_t, u_int);
65void openpic_ipi(device_t, u_int);
66void openpic_mask(device_t, u_int);
67void openpic_unmask(device_t, u_int);
68
69#endif /* _POWERPC_OPENPICVAR_H_ */
61void openpic_config(device_t, u_int, enum intr_trigger, enum intr_polarity);
62void openpic_dispatch(device_t, struct trapframe *);
63void openpic_enable(device_t, u_int, u_int);
64void openpic_eoi(device_t, u_int);
65void openpic_ipi(device_t, u_int);
66void openpic_mask(device_t, u_int);
67void openpic_unmask(device_t, u_int);
68
69#endif /* _POWERPC_OPENPICVAR_H_ */