Module Name: src
Committed By: jmcneill
Date: Sun Feb 1 12:09:40 UTC 2026
Modified Files:
src/sys/arch/evbppc/include: wiiu.h
src/sys/arch/evbppc/nintendo: mainbus.c
src/sys/arch/evbppc/nintendo/dev: wiiufb.c
Log Message:
wiiufb: Only use indirect register access during early boot
The current implementation relies on all register accesses being done 1)
before interrupts are enabled and secondaries have been started, or 2)
with KERNEL_LOCK held.
This change makes the driver switch from indirect accesses via the
Latte block to direct accesses through the GX frame at 0xc2000000 once
the FB driver attaches, removing the need for all register accesses to be
serialized.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbppc/include/wiiu.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbppc/nintendo/mainbus.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbppc/nintendo/dev/wiiufb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.