2 /// IPF specific AsmReadKrX() and AsmWriteKrX functions, 'X' is from '0' to '7'
4 /// Copyright (c) 2006, Intel Corporation
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.
13 /// Module Name: AccessKr.s
17 //---------------------------------------------------------------------------------
21 // This routine is used to get KR0.
27 // Return Value: The value store in KR0.
30 //----------------------------------------------------------------------------------
32 .type AsmReadKr0, @function
40 //---------------------------------------------------------------------------------
44 // This routine is used to Write KR0.
50 // Return Value: The value written to the KR0.
53 //----------------------------------------------------------------------------------
56 .type AsmWriteKr0, @function
67 //---------------------------------------------------------------------------------
71 // This routine is used to get KR1.
77 // Return Value: The value store in KR1.
80 //----------------------------------------------------------------------------------
82 .type AsmReadKr1, @function
90 //---------------------------------------------------------------------------------
94 // This routine is used to Write KR1.
100 // Return Value: The value written to the KR1.
103 //----------------------------------------------------------------------------------
105 .type AsmWriteKr1, @function
115 //---------------------------------------------------------------------------------
119 // This routine is used to get KR2.
125 // Return Value: The value store in KR2.
128 //----------------------------------------------------------------------------------
130 .type AsmReadKr2, @function
138 //---------------------------------------------------------------------------------
142 // This routine is used to Write KR2.
148 // Return Value: The value written to the KR2.
151 //----------------------------------------------------------------------------------
153 .type AsmWriteKr2, @function
163 //---------------------------------------------------------------------------------
167 // This routine is used to get KR3.
173 // Return Value: The value store in KR3.
176 //----------------------------------------------------------------------------------
178 .type AsmReadKr3, @function
186 //---------------------------------------------------------------------------------
190 // This routine is used to Write KR3.
196 // Return Value: The value written to the KR3.
199 //----------------------------------------------------------------------------------
201 .type AsmWriteKr3, @function
211 //---------------------------------------------------------------------------------
215 // This routine is used to get KR4.
221 // Return Value: The value store in KR4.
224 //----------------------------------------------------------------------------------
226 .type AsmReadKr4, @function
234 //---------------------------------------------------------------------------------
238 // This routine is used to Write KR4.
244 // Return Value: The value written to the KR4.
247 //----------------------------------------------------------------------------------
249 .type AsmWriteKr4, @function
259 //---------------------------------------------------------------------------------
263 // This routine is used to get KR5.
269 // Return Value: The value store in KR5.
272 //----------------------------------------------------------------------------------
274 .type AsmReadKr5, @function
282 //---------------------------------------------------------------------------------
286 // This routine is used to Write KR5.
292 // Return Value: The value written to the KR5.
295 //----------------------------------------------------------------------------------
297 .type AsmWriteKr5, @function
307 //---------------------------------------------------------------------------------
311 // This routine is used to get KR6.
317 // Return Value: The value store in KR6.
320 //----------------------------------------------------------------------------------
322 .type AsmReadKr6, @function
330 //---------------------------------------------------------------------------------
334 // This routine is used to write KR6.
340 // Return Value: The value written to the KR6.
343 //----------------------------------------------------------------------------------
345 .type AsmWriteKr6, @function
355 //---------------------------------------------------------------------------------
359 // This routine is used to get KR7.
365 // Return Value: The value store in KR7.
368 //----------------------------------------------------------------------------------
370 .type AsmReadKr7, @function
378 //---------------------------------------------------------------------------------
382 // This routine is used to write KR7.
388 // Return Value: The value written to the KR7.
391 //----------------------------------------------------------------------------------
393 .type AsmWriteKr7, @function