]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/X64/CpuBreakpoint.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / CpuBreakpoint.c
CommitLineData
f1baef62 1/** @file\r
2 CpuBreakpoint function.\r
3\r
bb817c56 4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
9344f092 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
f1baef62 6\r
7**/\r
8\r
9\r
42eedea9 10/**\r
11 Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.\r
12**/\r
7e43ed89 13\r
50de6bfb 14void __debugbreak (VOID);\r
f1baef62 15\r
16#pragma intrinsic(__debugbreak)\r
17\r
42eedea9 18/**\r
19 Generates a breakpoint on the CPU.\r
20\r
21 Generates a breakpoint on the CPU. The breakpoint must be implemented such\r
22 that code can resume normal execution after the breakpoint.\r
23\r
24**/\r
f1baef62 25VOID\r
26EFIAPI\r
27CpuBreakpoint (\r
28 VOID\r
29 )\r
30{\r
31 __debugbreak ();\r
32}\r
33\r