Page MenuHomeFreeBSD

[PowerPC] Fix programmer's switch driver and add to GENERIC
ClosedPublic

Authored by bdragon on Mar 8 2021, 7:45 PM.
Referenced Files
Unknown Object (File)
Fri, Dec 20, 3:21 PM
Unknown Object (File)
Sat, Dec 14, 10:43 PM
Unknown Object (File)
Sep 24 2024, 2:42 PM
Unknown Object (File)
Sep 23 2024, 7:15 AM
Unknown Object (File)
Sep 14 2024, 2:16 PM
Unknown Object (File)
Sep 5 2024, 8:46 PM
Unknown Object (File)
Sep 5 2024, 1:17 AM
Unknown Object (File)
Sep 4 2024, 6:06 PM
Subscribers

Details

Summary

Older G4 and G3 models have a programmer's switch that can be used to
generate an interrupt to drop into the debugger.

This code hadn't been tested for a long time. It had been broken back
in 2005 in r153050.

Repair and modernize the code and add it to GENERIC.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/powerpc/powermac/pswitch.c
50–52

do you need sc_dev? I don't see you using it anywhere.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 5 2021, 5:10 PM
This revision was automatically updated to reflect the committed changes.