]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuBreakpoint.c
CommitLineData
e1f414b6 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
e1f414b6 6\r
7**/\r
8\r
1efcc4ae 9\r
f734a10a 10\r
e1f414b6 11\r
42eedea9 12/**\r
13 Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.\r
14**/\r
7e43ed89 15\r
50de6bfb 16void __debugbreak (VOID);\r
e1f414b6 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
e1f414b6 27VOID\r
28EFIAPI\r
29CpuBreakpoint (\r
30 VOID\r
31 )\r
32{\r
33 __debugbreak ();\r
34}\r
35\r