]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/RiscV64/CpuBreakpoint.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / RiscV64 / CpuBreakpoint.c
1 /** @file
2 CPU breakpoint for RISC-V
3
4 Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7 **/
8
9 #include "BaseLibInternals.h"
10
11 extern VOID
12 RiscVCpuBreakpoint (
13 VOID
14 );
15
16 /**
17 Generates a breakpoint on the CPU.
18
19 Generates a breakpoint on the CPU. The breakpoint must be implemented such
20 that code can resume normal execution after the breakpoint.
21
22 **/
23 VOID
24 EFIAPI
25 CpuBreakpoint (
26 VOID
27 )
28 {
29 RiscVCpuBreakpoint ();
30 }