aboutsummaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseCpuLib/RiscV/Cpu.S
blob: 528fd3ad6f5636b4a2a522c06fe8df3fa3fd2064 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//------------------------------------------------------------------------------
//
// CpuSleep for RISC-V
//
// Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
// SPDX-License-Identifier: BSD-2-Clause-Patent
//
//------------------------------------------------------------------------------
.data
.align 3
.section .text

.global ASM_PFX(_CpuSleep)

ASM_PFX(_CpuSleep):
    wfi
    ret