]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/X64/CpuBreakpoint.c
MdePkg: Apply uncrustify changes
[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
42eedea9 9/**\r
10 Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.\r
11**/\r
7e43ed89 12\r
2f88bd3a
MK
13void\r
14__debugbreak (\r
15 VOID\r
16 );\r
f1baef62 17\r
18#pragma intrinsic(__debugbreak)\r
19\r
42eedea9 20/**\r
21 Generates a breakpoint on the CPU.\r
22\r
23 Generates a breakpoint on the CPU. The breakpoint must be implemented such\r
24 that code can resume normal execution after the breakpoint.\r
25\r
26**/\r
f1baef62 27VOID\r
28EFIAPI\r
29CpuBreakpoint (\r
30 VOID\r
31 )\r
32{\r
33 __debugbreak ();\r
34}\r