]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Core/Pei/Ipf/IpfCpuCore.s
The functions in these deleted files are not being used and also are there in the...
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Ipf / IpfCpuCore.s
CommitLineData
192f6d4c 1//++\r
2// Copyright (c) 2006, Intel Corporation\r
3// All rights reserved. This program and the accompanying materials\r
4// are licensed and made available under the terms and conditions of the BSD License\r
5// which accompanies this distribution. The full text of the license may be found at\r
6// http://opensource.org/licenses/bsd-license.php\r
7// \r
8// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
9// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
10//\r
11// Module Name:\r
12//\r
13// IpfCpuCore.s\r
14//\r
15// Abstract:\r
16// IPF Specific assembly routines\r
17//\r
18//--\r
19\r
20.file "IpfCpuCore.s"\r
21\r
22#include "IpfMacro.i"\r
23#include "Ipf/IpfCpuCore.i"\r
24\r
192f6d4c 25//---------------------------------------------------------------------------------\r
26//++\r
27// GetHandOffStatus\r
28//\r
29// This routine is called by all processors simultaneously, to get some hand-off\r
30// status that has been captured by IPF dispatcher and recorded in kernel registers.\r
31//\r
32// Arguments :\r
33//\r
34// On Entry : None.\r
35//\r
36// Return Value: Lid, R20Status.\r
37//\r
38//--\r
39//----------------------------------------------------------------------------------\r
40PROCEDURE_ENTRY (GetHandOffStatus)\r
41\r
42 NESTED_SETUP (0,2+0,0,0)\r
43\r
44 mov r8 = ar.k6 // Health Status (Self test params)\r
45 mov r9 = ar.k4 // LID bits\r
46 mov r10 = ar.k3;; // SAL_E entry state\r
9833aeaf 47 mov r11 = ar.k1 // Return address to PAL\r
192f6d4c 48\r
49 NESTED_RETURN\r
50PROCEDURE_EXIT (GetHandOffStatus)\r
51//----------------------------------------------------------------------------------\r
52\r
53\r