2 /// Contains an implementation of CallPalProcStacked on Itanium-based
5 /// Copyright (c) 2008, Intel Corporation
6 /// All rights reserved. This program and the accompanying materials
7 /// are licensed and made available under the terms and conditions of the BSD License
8 /// which accompanies this distribution. The full text of the license may be found at
9 /// http://opensource.org/licenses/bsd-license.php
11 /// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 /// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 /// Module Name: AsmCpuMisc.s
21 .type CpuBreakpoint, @function
30 .type MemoryFence, @function
33 mf;; // memory access ordering
35 // do we need the mf.a also here?
36 mf.a // wait for any IO to complete?
38 // not sure if we need serialization here, just put it, in case...
46 .proc DisableInterrupts
47 .type DisableInterrupts, @function
54 .endp DisableInterrupts
56 .proc EnableInterrupts
57 .type EnableInterrupts, @function
64 .endp EnableInterrupts
66 .proc EnableDisableInterrupts
67 .type EnableDisableInterrupts, @function
69 EnableDisableInterrupts::
78 .endp EnableDisableInterrupts