]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Core/Pei/Ipf/IpfCpuCore.i
Should use gEfiFirmwareFileSystem2Guid but not gEfiFirmwareFileSystemGuid in DxeCore.
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Ipf / IpfCpuCore.i
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.i\r
14//\r
15// Abstract:\r
16// IPF CPU definitions\r
17//\r
18//--\r
19\r
20#ifndef _IPF_CPU_CORE_\r
21#define _IPF_CPU_CORE_\r
22\r
23//\r
24// Include common header file for this module.\r
25//\r
26#include "CommonHeader.h"\r
27\r
28#define PEI_BSP_STORE_SIZE 0x4000\r
29#define ResetFn 0x00\r
30#define MachineCheckFn 0x01\r
31#define InitFn 0x02\r
32#define RecoveryFn 0x03\r
33#define GuardBand 0x10 \r
34\r
35//\r
36// Define hardware RSE Configuration Register\r
37//\r
38\r
39//\r
40// RS Configuration (RSC) bit field positions\r
41//\r
42#define RSC_MODE 0\r
43#define RSC_PL 2\r
44#define RSC_BE 4\r
45//\r
46// RSC bits 5-15 reserved\r
47//\r
48#define RSC_MBZ0 5\r
49#define RSC_MBZ0_V 0x3ff\r
50#define RSC_LOADRS 16\r
51#define RSC_LOADRS_LEN 14\r
52//\r
53// RSC bits 30-63 reserved\r
54//\r
55#define RSC_MBZ1 30\r
56#define RSC_MBZ1_V 0x3ffffffffULL\r
57\r
58//\r
59// RSC modes\r
60//\r
61\r
62//\r
63// Lazy\r
64//\r
65#define RSC_MODE_LY (0x0)\r
66//\r
67// Store intensive\r
68//\r
69#define RSC_MODE_SI (0x1)\r
70//\r
71// Load intensive\r
72//\r
73#define RSC_MODE_LI (0x2)\r
74//\r
75// Eager\r
76//\r
77#define RSC_MODE_EA (0x3)\r
78\r
79//\r
80// RSC Endian bit values\r
81//\r
82#define RSC_BE_LITTLE 0\r
83#define RSC_BE_BIG 1\r
84\r
85//\r
86// RSC while in kernel: enabled, little endian, pl = 0, eager mode\r
87//\r
88#define RSC_KERNEL ((RSC_MODE_EA<<RSC_MODE) | (RSC_BE_LITTLE<<RSC_BE))\r
89//\r
90// Lazy RSC in kernel: enabled, little endian, pl = 0, lazy mode\r
91//\r
92#define RSC_KERNEL_LAZ ((RSC_MODE_LY<<RSC_MODE) | (RSC_BE_LITTLE<<RSC_BE))\r
93//\r
94// RSE disabled: disabled, pl = 0, little endian, eager mode\r
95//\r
96#define RSC_KERNEL_DISABLED ((RSC_MODE_LY<<RSC_MODE) | (RSC_BE_LITTLE<<RSC_BE))\r
97\r
98#endif\r