When booting in qemu with "-machine=mac99,via=pmu" I found two
things:
- the "extint-gpio1" check returned NULL, so doing a strcmp() on it is wrong, and
- a couple of places (notably the LED path) was calling pmu_send() with no receive buffer, leading to results being written to a NULL buffer.
Fix both of these, allowing boot to continue.
Locally tested:
- qemu-system-ppc64 -machine=mac99,via=pmu -cpu 970fx -smp 1