#
eb7eaf8d |
| 24-Oct-2021 |
mpi <mpi@openbsd.org> |
Constify struct cfattach.
ok visa@ a long time ago
|
#
74227e1d |
| 20-Dec-2016 |
jsg <jsg@openbsd.org> |
no need to test if an array is non-NULL ok kettenis@
|
#
ad41178e |
| 27-Sep-2015 |
kettenis <kettenis@openbsd.org> |
Store the target CPU in "struct intrhand" and use it in intr_barrier(). Also use it wherever we configure the hardware to direct interrupts to the right CPU.
|
#
b3a497ed |
| 25-Jan-2015 |
kettenis <kettenis@openbsd.org> |
Rework cbus(4) interrupt support a bit. Instead of merging devhandle and devino into a pseudo-sysino, directly use the devino as the ihandle. The devhandle is stored in the cbus softc, and accessed
Rework cbus(4) interrupt support a bit. Instead of merging devhandle and devino into a pseudo-sysino, directly use the devino as the ihandle. The devhandle is stored in the cbus softc, and accessed through the bus space tag. This allows us to have more than 256 interrupts on a single cbus, and avoids relying on the lower bits of the devhandle being zero.
show more ...
|
#
7c7cd69e |
| 24-Nov-2014 |
kettenis <kettenis@openbsd.org> |
If we use the vintr cookie to point at the interrupt handler struct, we shouldn't link it into the table.
|
#
6678f4ed |
| 24-Nov-2014 |
kettenis <kettenis@openbsd.org> |
Use the pointer to "struct intrhand" as the vintr cookie.
|
#
00210ae4 |
| 16-Jul-2013 |
kettenis <kettenis@openbsd.org> |
Add support for BUS_INTR_ESTABLISH_MPSAFE.
|
#
c2dc831e |
| 23-Nov-2012 |
kettenis <kettenis@openbsd.org> |
Change the way we encode devhandle and devino in the sysino such that we can handle up to 256 different interrupt vectors on cbus(4). This is enough to handle 128 channels.
|
#
ea2f3eee |
| 26-Oct-2012 |
kettenis <kettenis@openbsd.org> |
Turns out that for devices that attach to cbus(4), it is better to disable interrupts up-front and explicitly enabling them later than the other way around.
|
#
ec13f893 |
| 11-Nov-2010 |
miod <miod@openbsd.org> |
Replace snprintf(foo, sizeof foo, "%s", ...) with strlcpy. ok deraadt@ krw@
|
#
351e1056 |
| 14-Dec-2009 |
kettenis <kettenis@openbsd.org> |
Add wrapper functions to enable/disable interrupts and manipulate their state.
|
#
e0262095 |
| 10-May-2009 |
kettenis <kettenis@openbsd.org> |
Handle devices with multiple ports.
|
#
e4edc0c7 |
| 12-Apr-2009 |
kettenis <kettenis@openbsd.org> |
Move code handling Machine Descriptions out of the cbus(4) driver.
|
#
530a2e85 |
| 04-Apr-2009 |
kettenis <kettenis@openbsd.org> |
Cleanup debug printfs.
|
#
d7fe34e6 |
| 04-Jan-2009 |
kettenis <kettenis@openbsd.org> |
Make cbus_print() less chatty and use "chan" instead of "id" when printing the logical domain channel ID.
|
#
2feb04b3 |
| 01-Jan-2009 |
kettenis <kettenis@openbsd.org> |
Add code to handle virtual interrupt for channel devices.
|
#
06e6882d |
| 30-Dec-2008 |
kettenis <kettenis@openbsd.org> |
Add cbus(4), a virtual bus for devices that use logical domain channels as found on sun4v systems with multiple domains configured.
|