]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/RiscV64/CpuBreakpoint.c
88d0877a2fc573bbac2b9aab218fb7f195c59210
[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 RiscVCpuBreakpoint (VOID);
12
13 /**
14 Generates a breakpoint on the CPU.
15
16 Generates a breakpoint on the CPU. The breakpoint must be implemented such
17 that code can resume normal execution after the breakpoint.
18
19 **/
20 VOID
21 EFIAPI
22 CpuBreakpoint (
23 VOID
24 )
25 {
26 RiscVCpuBreakpoint ();
27 }