/src/hbfa-fl/HBFA/UefiHostTestPkg/Library/BaseLibHost/CpuBreakpointGcc.c
Line | Count | Source (jump to first uncovered line) |
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 | | |
12 | | /** |
13 | | Generates a breakpoint on the CPU. |
14 | | |
15 | | Generates a breakpoint on the CPU. The breakpoint must be implemented such |
16 | | that code can resume normal execution after the breakpoint. |
17 | | |
18 | | **/ |
19 | | VOID |
20 | | EFIAPI |
21 | | CpuBreakpoint ( |
22 | | VOID |
23 | | ) |
24 | 0 | { |
25 | 0 | __asm__ __volatile__ ("int $3"); |
26 | 0 | } |