2 /// IPF specific control register reading functions
4 /// Copyright (c) 2008, 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.
18 .type AsmReadControlRegisterDcr, @function
19 .proc AsmReadControlRegisterDcr
21 // Reads control register DCR.
23 // This is a worker function for AsmReadControlRegister()
24 // when its parameter Index is IPF_CONTROL_REGISTER_DCR
26 // @return The 64-bit control register DCR.
28 AsmReadControlRegisterDcr::
31 .endp AsmReadControlRegisterDcr
36 .type AsmReadControlRegisterItm, @function
37 .proc AsmReadControlRegisterItm
39 // Reads control register ITM.
41 // This is a worker function for AsmReadControlRegister()
42 // when its parameter Index is IPF_CONTROL_REGISTER_ITM
44 // @return The 64-bit control register ITM.
46 AsmReadControlRegisterItm::
49 .endp AsmReadControlRegisterItm
54 .type AsmReadControlRegisterIva, @function
55 .proc AsmReadControlRegisterIva
57 // Reads control register IVA.
59 // This is a worker function for AsmReadControlRegister()
60 // when its parameter Index is IPF_CONTROL_REGISTER_IVA
62 // @return The 64-bit control register IVA.
64 AsmReadControlRegisterIva::
67 .endp AsmReadControlRegisterIva
72 .type AsmReadControlRegisterPta, @function
73 .proc AsmReadControlRegisterPta
75 // Reads control register PTA.
77 // This is a worker function for AsmReadControlRegister()
78 // when its parameter Index is IPF_CONTROL_REGISTER_PTA
80 // @return The 64-bit control register PTA.
82 AsmReadControlRegisterPta::
85 .endp AsmReadControlRegisterPta
90 .type AsmReadControlRegisterIpsr, @function
91 .proc AsmReadControlRegisterIpsr
93 // Reads control register IPSR.
95 // This is a worker function for AsmReadControlRegister()
96 // when its parameter Index is IPF_CONTROL_REGISTER_IPSR
98 // @return The 64-bit control register IPSR.
100 AsmReadControlRegisterIpsr::
103 .endp AsmReadControlRegisterIpsr
108 .type AsmReadControlRegisterIsr, @function
109 .proc AsmReadControlRegisterIsr
111 // Reads control register ISR.
113 // This is a worker function for AsmReadControlRegister()
114 // when its parameter Index is IPF_CONTROL_REGISTER_ISR
116 // @return The 64-bit control register ISR.
118 AsmReadControlRegisterIsr::
121 .endp AsmReadControlRegisterIsr
126 .type AsmReadControlRegisterIip, @function
127 .proc AsmReadControlRegisterIip
129 // Reads control register IIP.
131 // This is a worker function for AsmReadControlRegister()
132 // when its parameter Index is IPF_CONTROL_REGISTER_IIP
134 // @return The 64-bit control register IIP.
136 AsmReadControlRegisterIip::
139 .endp AsmReadControlRegisterIip
144 .type AsmReadControlRegisterIfa, @function
145 .proc AsmReadControlRegisterIfa
147 // Reads control register IFA.
149 // This is a worker function for AsmReadControlRegister()
150 // when its parameter Index is IPF_CONTROL_REGISTER_IFA
152 // @return The 64-bit control register IFA.
154 AsmReadControlRegisterIfa::
157 .endp AsmReadControlRegisterIfa
162 .type AsmReadControlRegisterItir, @function
163 .proc AsmReadControlRegisterItir
165 // Reads control register ITIR.
167 // This is a worker function for AsmReadControlRegister()
168 // when its parameter Index is IPF_CONTROL_REGISTER_ITIR
170 // @return The 64-bit control register ITIR.
172 AsmReadControlRegisterItir::
175 .endp AsmReadControlRegisterItir
180 .type AsmReadControlRegisterIipa, @function
181 .proc AsmReadControlRegisterIipa
183 // Reads control register IIPA.
185 // This is a worker function for AsmReadControlRegister()
186 // when its parameter Index is IPF_CONTROL_REGISTER_IIPA
188 // @return The 64-bit control register IIPA.
190 AsmReadControlRegisterIipa::
193 .endp AsmReadControlRegisterIipa
198 .type AsmReadControlRegisterIfs, @function
199 .proc AsmReadControlRegisterIfs
201 // Reads control register IFS.
203 // This is a worker function for AsmReadControlRegister()
204 // when its parameter Index is IPF_CONTROL_REGISTER_IFS
206 // @return The 64-bit control register IFS.
208 AsmReadControlRegisterIfs::
211 .endp AsmReadControlRegisterIfs
216 .type AsmReadControlRegisterIim, @function
217 .proc AsmReadControlRegisterIim
219 // Reads control register IIM.
221 // This is a worker function for AsmReadControlRegister()
222 // when its parameter Index is IPF_CONTROL_REGISTER_IIM
224 // @return The 64-bit control register IIM.
226 AsmReadControlRegisterIim::
229 .endp AsmReadControlRegisterIim
234 .type AsmReadControlRegisterIha, @function
235 .proc AsmReadControlRegisterIha
237 // Reads control register IHA.
239 // This is a worker function for AsmReadControlRegister()
240 // when its parameter Index is IPF_CONTROL_REGISTER_IHA
242 // @return The 64-bit control register IHA.
244 AsmReadControlRegisterIha::
247 .endp AsmReadControlRegisterIha
252 .type AsmReadControlRegisterLid, @function
253 .proc AsmReadControlRegisterLid
255 // Reads control register LID.
257 // This is a worker function for AsmReadControlRegister()
258 // when its parameter Index is IPF_CONTROL_REGISTER_LID
260 // @return The 64-bit control register LID.
262 AsmReadControlRegisterLid::
265 .endp AsmReadControlRegisterLid
270 .type AsmReadControlRegisterIvr, @function
271 .proc AsmReadControlRegisterIvr
273 // Reads control register IVR.
275 // This is a worker function for AsmReadControlRegister()
276 // when its parameter Index is IPF_CONTROL_REGISTER_IVR
278 // @return The 64-bit control register IVR.
280 AsmReadControlRegisterIvr::
283 .endp AsmReadControlRegisterIvr
288 .type AsmReadControlRegisterTpr, @function
289 .proc AsmReadControlRegisterTpr
291 // Reads control register TPR.
293 // This is a worker function for AsmReadControlRegister()
294 // when its parameter Index is IPF_CONTROL_REGISTER_TPR
296 // @return The 64-bit control register TPR.
298 AsmReadControlRegisterTpr::
301 .endp AsmReadControlRegisterTpr
306 .type AsmReadControlRegisterEoi, @function
307 .proc AsmReadControlRegisterEoi
309 // Reads control register EOI.
311 // This is a worker function for AsmReadControlRegister()
312 // when its parameter Index is IPF_CONTROL_REGISTER_EOI
314 // @return The 64-bit control register EOI.
316 AsmReadControlRegisterEoi::
319 .endp AsmReadControlRegisterEoi
324 .type AsmReadControlRegisterIrr0, @function
325 .proc AsmReadControlRegisterIrr0
327 // Reads control register IRR0.
329 // This is a worker function for AsmReadControlRegister()
330 // when its parameter Index is IPF_CONTROL_REGISTER_IRR0
332 // @return The 64-bit control register IRR0.
334 AsmReadControlRegisterIrr0::
337 .endp AsmReadControlRegisterIrr0
342 .type AsmReadControlRegisterIrr1, @function
343 .proc AsmReadControlRegisterIrr1
345 // Reads control register IRR1.
347 // This is a worker function for AsmReadControlRegister()
348 // when its parameter Index is IPF_CONTROL_REGISTER_IRR1
350 // @return The 64-bit control register IRR1.
352 AsmReadControlRegisterIrr1::
355 .endp AsmReadControlRegisterIrr1
360 .type AsmReadControlRegisterIrr2, @function
361 .proc AsmReadControlRegisterIrr2
363 // Reads control register IRR2.
365 // This is a worker function for AsmReadControlRegister()
366 // when its parameter Index is IPF_CONTROL_REGISTER_IRR2
368 // @return The 64-bit control register IRR2.
370 AsmReadControlRegisterIrr2::
373 .endp AsmReadControlRegisterIrr2
378 .type AsmReadControlRegisterIrr3, @function
379 .proc AsmReadControlRegisterIrr3
381 // Reads control register IRR3.
383 // This is a worker function for AsmReadControlRegister()
384 // when its parameter Index is IPF_CONTROL_REGISTER_IRR3
386 // @return The 64-bit control register IRR3.
388 AsmReadControlRegisterIrr3::
391 .endp AsmReadControlRegisterIrr3
396 .type AsmReadControlRegisterItv, @function
397 .proc AsmReadControlRegisterItv
399 // Reads control register ITV.
401 // This is a worker function for AsmReadControlRegister()
402 // when its parameter Index is IPF_CONTROL_REGISTER_ITV
404 // @return The 64-bit control register ITV.
406 AsmReadControlRegisterItv::
409 .endp AsmReadControlRegisterItv
414 .type AsmReadControlRegisterPmv, @function
415 .proc AsmReadControlRegisterPmv
417 // Reads control register PMV.
419 // This is a worker function for AsmReadControlRegister()
420 // when its parameter Index is IPF_CONTROL_REGISTER_PMV
422 // @return The 64-bit control register PMV.
424 AsmReadControlRegisterPmv::
427 .endp AsmReadControlRegisterPmv
432 .type AsmReadControlRegisterCmcv, @function
433 .proc AsmReadControlRegisterCmcv
435 // Reads control register CMCV.
437 // This is a worker function for AsmReadControlRegister()
438 // when its parameter Index is IPF_CONTROL_REGISTER_CMCV
440 // @return The 64-bit control register CMCV.
442 AsmReadControlRegisterCmcv::
445 .endp AsmReadControlRegisterCmcv
450 .type AsmReadControlRegisterLrr0, @function
451 .proc AsmReadControlRegisterLrr0
453 // Reads control register LRR0.
455 // This is a worker function for AsmReadControlRegister()
456 // when its parameter Index is IPF_CONTROL_REGISTER_LRR0
458 // @return The 64-bit control register LRR0.
460 AsmReadControlRegisterLrr0::
463 .endp AsmReadControlRegisterLrr0
468 .type AsmReadControlRegisterLrr1, @function
469 .proc AsmReadControlRegisterLrr1
471 // Reads control register LRR1.
473 // This is a worker function for AsmReadControlRegister()
474 // when its parameter Index is IPF_CONTROL_REGISTER_LRR1
476 // @return The 64-bit control register LRR1.
478 AsmReadControlRegisterLrr1::
481 .endp AsmReadControlRegisterLrr1