]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
MdePkg/BaseLib: Break out IA32/X64 GCC inline privileged functions
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuBreakpoint.c
... / ...
CommitLineData
1/** @file\r
2 CpuBreakpoint function.\r
3\r
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6\r
7**/\r
8\r
9\r
10\r
11\r
12/**\r
13 Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.\r
14**/\r
15\r
16void __debugbreak (VOID);\r
17\r
18#pragma intrinsic(__debugbreak)\r
19\r
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
27VOID\r
28EFIAPI\r
29CpuBreakpoint (\r
30 VOID\r
31 )\r
32{\r
33 __debugbreak ();\r
34}\r
35\r