mirror of https://github.com/acidanthera/audk.git
28 lines
534 B
C
28 lines
534 B
C
|
/** @file
|
||
|
CPU breakpoint for RISC-V
|
||
|
|
||
|
Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
||
|
|
||
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||
|
**/
|
||
|
|
||
|
#include "BaseLibInternals.h"
|
||
|
|
||
|
extern VOID RiscVCpuBreakpoint (VOID);
|
||
|
|
||
|
/**
|
||
|
Generates a breakpoint on the CPU.
|
||
|
|
||
|
Generates a breakpoint on the CPU. The breakpoint must be implemented such
|
||
|
that code can resume normal execution after the breakpoint.
|
||
|
|
||
|
**/
|
||
|
VOID
|
||
|
EFIAPI
|
||
|
CpuBreakpoint (
|
||
|
VOID
|
||
|
)
|
||
|
{
|
||
|
RiscVCpuBreakpoint ();
|
||
|
}
|