OpenCloudOS-Kernel/arch/powerpc/boot/motload-head.S

13 lines
219 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0 */
#include "ppc_asm.h"
.text
.globl _zimage_start
_zimage_start:
mfmsr r10
rlwinm r10,r10,0,~(1<<15) /* Clear MSR_EE */
sync
mtmsr r10
isync
b _zimage_start_lib