1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * purgatory: Runs between two kernels
5 * Copyright (C) 2022 Huawei Technologies Co, Ltd.
7 * Author: Li Zhengyu (lizhengyu3@huawei.com)
17 .globl purgatory_start
21 mv s0, a0 /* The hartid of the current hart */
22 mv s1, a1 /* Phys address of the FDT image */
26 /* Start new image. */
29 ld a2, riscv_kernel_entry
42 .globl riscv_kernel_entry
45 size riscv_kernel_entry