]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ipf/AsmCpuMisc.s
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / RuntimeDxe / EfiRuntimeLib / Ipf / AsmCpuMisc.s
CommitLineData
f90eb36c 1/// @file\r
2/// Contains an implementation of EcpEfiBreakPoint and EcpMemoryFence on Itanium-based\r
3/// architecture.\r
4///\r
4ea9375a
HT
5/// Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r
6/// This program and the accompanying materials\r
f90eb36c 7/// are licensed and made available under the terms and conditions of the BSD License\r
8/// which accompanies this distribution. The full text of the license may be found at\r
9/// http://opensource.org/licenses/bsd-license.php\r
10///\r
11/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13///\r
14/// Module Name: AsmCpuMisc.s\r
15///\r
16///\r
17\r
18\r
19.text\r
20.proc EcpEfiBreakPoint\r
21.type EcpEfiBreakPoint, @function\r
22\r
23EcpEfiBreakPoint::\r
24 break.i 0;;\r
25 br.ret.dpnt b0;;\r
26\r
27.endp EcpEfiBreakPoint\r
28\r
29.proc EcpMemoryFence\r
30.type EcpMemoryFence, @function\r
31\r
32EcpMemoryFence::\r
33 mf;; // memory access ordering\r
34\r
35 // do we need the mf.a also here?\r
36 mf.a // wait for any IO to complete?\r
37 \r
38 // not sure if we need serialization here, just put it, in case...\r
39 \r
40 srlz.d;;\r
41 srlz.i;;\r
42 \r
43 br.ret.dpnt b0;;\r
44.endp EcpMemoryFence