Store PSCI function ids as uint32_t not int in the softc.
authorjsg <jsg@openbsd.org>
Sun, 28 Jan 2018 12:48:20 +0000 (12:48 +0000)
committerjsg <jsg@openbsd.org>
Sun, 28 Jan 2018 12:48:20 +0000 (12:48 +0000)
commit5f9962a98fc05d6f8cf9a8666d61b6afd317651d
tree1e6d0dba5f7ec2dfd5d72279ebd6c5bb6de13202
parent06179caea45ba224da53110b5f305436227ccb64
Store PSCI function ids as uint32_t not int in the softc.
Avoids unwanted sign extension on arm64 that resulted in qemu not
recognising the function ids and matches the specification.

Problem reported by semarie@
ok kettenis@
sys/dev/fdt/psci.c