]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
3dcbecf29d53e0e37f9f43692c3722e11137c43b
2 Base Library CPU functions for Itanium
4 Copyright (c) 2006, Intel Corporation<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 // Include common header file for this module.
18 #include <BaseLibInternals.h>
22 #pragma intrinsic (_enable)
23 #pragma intrinsic (_disable)
24 #pragma intrinsic (__break)
25 #pragma intrinsic (__mfa)
29 Generates a breakpoint on the CPU.
31 Generates a breakpoint on the CPU. The breakpoint must be implemented such
32 that code can resume normal execution after the breakpoint.
45 Used to serialize load and store operations.
47 All loads and stores that proceed calls to this function are guaranteed to be
48 globally visible when this function returns.
61 Disables CPU interrupts.
63 Disables CPU interrupts.
76 Enables CPU interrupts.
78 Enables CPU interrupts.
91 Enables CPU interrupts for the smallest window required to capture any
94 Enables CPU interrupts for the smallest window required to capture any
100 EnableDisableInterrupts (
105 DisableInterrupts ();
109 Places the CPU in a sleep state until an interrupt is received.
111 Places the CPU in a sleep state until an interrupt is received. If interrupts
112 are disabled prior to calling this function, then the CPU will be placed in a
113 sleep state indefinitely.
122 PalCallStatic (NULL
, 29, 0, 0, 0);