]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/CpuBreakpoint.c
3 Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #include "BaseLibInternals.h"
25 #pragma intrinsic (_enable)
26 #pragma intrinsic (_disable)
27 #pragma intrinsic (__break)
28 #pragma intrinsic (__mfa)
32 Generates a breakpoint on the CPU.
34 Generates a breakpoint on the CPU. The breakpoint must be implemented such
35 that code can resume normal execution after the breakpoint.
48 Used to serialize load and store operations.
50 All loads and stores that proceed calls to this function are guaranteed to be
51 globally visible when this function returns.
64 Disables CPU interrupts.
66 Disables CPU interrupts.
79 Enables CPU interrupts.
81 Enables CPU interrupts.
94 Enables CPU interrupts for the smallest window required to capture any
97 Enables CPU interrupts for the smallest window required to capture any
103 EnableDisableInterrupts (
108 DisableInterrupts ();
112 Places the CPU in a sleep state until an interrupt is received.
114 Places the CPU in a sleep state until an interrupt is received. If interrupts
115 are disabled prior to calling this function, then the CPU will be placed in a
116 sleep state indefinitely.
125 PalCallStatic (NULL
, 29, 0, 0, 0);