Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/mips/loongson64/sleeper.S
26442 views
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
/*
3
* Copyright (C) 2024, Jiaxun Yang <[email protected]>
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)
22
23