]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Ipf/ExecFc.s
Update copyright for files modified in this year
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ipf / ExecFc.s
CommitLineData
f1baef62 1/// @file\r
2/// IPF specific AsmFc() and AsmFci () functions\r
3///\r
373ade0e 4/// Copyright (c) 2006 - 2008, Intel Corporation\r
f1baef62 5/// All rights reserved. This program and the accompanying materials\r
6/// are licensed and made available under the terms and conditions of the BSD License\r
7/// which accompanies this distribution. The full text of the license may be found at\r
8/// http://opensource.org/licenses/bsd-license.php\r
9///\r
10/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12///\r
13/// Module Name: ExecFc.s\r
14///\r
15///\r
16\r
17//---------------------------------------------------------------------------------\r
18//++\r
19// AsmFc\r
20//\r
21// This routine is used to execute a FC instruction on the specific address.\r
22//\r
23// Arguments :\r
24//\r
25// On Entry : The specific address need to execute FC instruction.\r
26//\r
27// Return Value: The specific address have been execute FC instruction.\r
28//\r
29//--\r
30//----------------------------------------------------------------------------------\r
31.text\r
32.type AsmFc, @function\r
33.proc AsmFc\r
34.regstk 1, 0, 0, 0\r
35\r
36AsmFc::\r
37 fc in0\r
38 mov r8 = in0;;\r
39 br.ret.dpnt b0;;\r
40.endp AsmFc\r
41\r
42\r
43//---------------------------------------------------------------------------------\r
44//++\r
45// AsmFci\r
46//\r
47// This routine is used to execute a FC.i instruction on the specific address.\r
48//\r
49// Arguments :\r
50//\r
51// On Entry : The specific address need to execute FC.i instruction.\r
52//\r
53// Return Value: The specific address have been execute FC.i instruction.\r
54//\r
55//--\r
56//----------------------------------------------------------------------------------\r
57.text\r
58.type AsmFci, @function\r
59.proc AsmFci\r
60.regstk 1, 0, 0, 0\r
61\r
62AsmFci::\r
63 fc.i in0\r
64 mov r8 = in0;;\r
65 br.ret.dpnt b0;;\r
6446db6e 66.endp AsmFci\r