]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuBreakpoint.c
1 /** @file
2 CpuBreakpoint function.
3
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 /**
10 Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
11 **/
12
13 void
14 __debugbreak (
15 VOID
16 );
17
18 #pragma intrinsic(__debugbreak)
19
20 /**
21 Generates a breakpoint on the CPU.
22
23 Generates a breakpoint on the CPU. The breakpoint must be implemented such
24 that code can resume normal execution after the breakpoint.
25
26 **/
27 VOID
28 EFIAPI
29 CpuBreakpoint (
30 VOID
31 )
32 {
33 __debugbreak ();
34 }