CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2020/04/02 13:27:51

Modified files:
        sys/arch/macppc/macppc: ofw_machdep.h ofwreal.S opendev.c 
                                openfirm.c 

Log message:
Make the OpenFirmware functions work with clang.

ofw_stack() was changing its caller's stack frame, but this stops
working when clang inlines the caller into another function.  Move the
stack-switching logic into openfirmware().  Now ofw_stack() becomes
ofw_msr() and only sets the msr.

ok deraadt@ kettenis@

Reply via email to