1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Copyright (C) 2024, Jiaxun Yang <jiaxun.yang@flygoat.com> 4 * Loongson EFI firmware sleeper routine 5 */ 6 7 #include <asm/asm.h> 8 #include <asm/pm.h> 9 10 #include <kernel-entry-init.h> 11 12 LEAF(loongson_lefi_sleep) 13 SUSPEND_SAVE 14 move t9, a0 15 PTR_LA a0, wake 16 move a1, sp 17 jalr t9 18 wake: 19 smp_slave_setup 20 RESUME_RESTORE_REGS_RETURN 21 END(loongson_lefi_sleep)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.