]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/X64/CpuBreakpoint.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / 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 /**
11 Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
12 **/
13
14 void __debugbreak (VOID);
15
16 #pragma intrinsic(__debugbreak)
17
18 /**
19 Generates a breakpoint on the CPU.
20
21 Generates a breakpoint on the CPU. The breakpoint must be implemented such
22 that code can resume normal execution after the breakpoint.
23
24 **/
25 VOID
26 EFIAPI
27 CpuBreakpoint (
28 VOID
29 )
30 {
31 __debugbreak ();
32 }
33