]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC64LE] LE opal_call() implementation
authorBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 00:28:47 +0000 (00:28 +0000)
committerBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 00:28:47 +0000 (00:28 +0000)
commitdadfbc2e604e636760ab4f1367ebc446a2ca51c2
treea774bc4b8544a50b10a4dfbf3212b168677bf016
parent24faccc2411c6784d1d1c557cd389db0abd06e68
[PowerPC64LE] LE opal_call() implementation

OPAL runs in big endian, so we need to rfid into it to switch endian
atomically when branching to it, and we need to do the
RETURN_TO_NATIVE_ENDIAN dance when it returns to us.

Sponsored by: Tag1 Consulting, Inc.
sys/powerpc/powernv/opal.c
sys/powerpc/powernv/opalcall.S