21 #define LAST_ENTRY 0xFFFFFFFF
28 #define Int16FromChar(a,b) ((a) << 0 | (b) << 8)
31 #define Int32FromChar(a,b,c,d) ((a) << 0 | (b) << 8 | (c) << 16 | (d) << 24)
34 #define IMAGE_SIGNATURE Int32FromChar ('$', 'A', 'M', 'D')
38 #define AGESA_SUCCESS ((AGESA_STATUS) 0x0)
39 #define AGESA_ALERT ((AGESA_STATUS) 0x40000000)
40 #define AGESA_WARNING ((AGESA_STATUS) 0x40000001)
41 #define AGESA_UNSUPPORTED ((AGESA_STATUS) 0x80000003)
42 #define AGESA_ERROR ((AGESA_STATUS) 0xC0000001)
43 #define AGESA_CRITICAL ((AGESA_STATUS) 0xC0000002)
44 #define AGESA_FATAL ((AGESA_STATUS) 0xC0000003)
126 #define ILLEGAL_SBDFO 0xFFFFFFFF
161 #define BIT0 0x0000000000000001ull
164 #define BIT1 0x0000000000000002ull
167 #define BIT2 0x0000000000000004ull
170 #define BIT3 0x0000000000000008ull
173 #define BIT4 0x0000000000000010ull
176 #define BIT5 0x0000000000000020ull
179 #define BIT6 0x0000000000000040ull
182 #define BIT7 0x0000000000000080ull
185 #define BIT8 0x0000000000000100ull
188 #define BIT9 0x0000000000000200ull
191 #define BIT10 0x0000000000000400ull
194 #define BIT11 0x0000000000000800ull
197 #define BIT12 0x0000000000001000ull
200 #define BIT13 0x0000000000002000ull
203 #define BIT14 0x0000000000004000ull
206 #define BIT15 0x0000000000008000ull
209 #define BIT16 0x0000000000010000ull
212 #define BIT17 0x0000000000020000ull
215 #define BIT18 0x0000000000040000ull
218 #define BIT19 0x0000000000080000ull
221 #define BIT20 0x0000000000100000ull
224 #define BIT21 0x0000000000200000ull
227 #define BIT22 0x0000000000400000ull
230 #define BIT23 0x0000000000800000ull
233 #define BIT24 0x0000000001000000ull
236 #define BIT25 0x0000000002000000ull
239 #define BIT26 0x0000000004000000ull
242 #define BIT27 0x0000000008000000ull
245 #define BIT28 0x0000000010000000ull
248 #define BIT29 0x0000000020000000ull
251 #define BIT30 0x0000000040000000ull
254 #define BIT31 0x0000000080000000ull
257 #define BIT32 0x0000000100000000ull
260 #define BIT33 0x0000000200000000ull
263 #define BIT34 0x0000000400000000ull
266 #define BIT35 0x0000000800000000ull
269 #define BIT36 0x0000001000000000ull
272 #define BIT37 0x0000002000000000ull
275 #define BIT38 0x0000004000000000ull
278 #define BIT39 0x0000008000000000ull
281 #define BIT40 0x0000010000000000ull
284 #define BIT41 0x0000020000000000ull
287 #define BIT42 0x0000040000000000ull
290 #define BIT43 0x0000080000000000ull
293 #define BIT44 0x0000100000000000ull
296 #define BIT45 0x0000200000000000ull
299 #define BIT46 0x0000400000000000ull
302 #define BIT47 0x0000800000000000ull
305 #define BIT48 0x0001000000000000ull
308 #define BIT49 0x0002000000000000ull
311 #define BIT50 0x0004000000000000ull
314 #define BIT51 0x0008000000000000ull
317 #define BIT52 0x0010000000000000ull
320 #define BIT53 0x0020000000000000ull
323 #define BIT54 0x0040000000000000ull
326 #define BIT55 0x0080000000000000ull
329 #define BIT56 0x0100000000000000ull
332 #define BIT57 0x0200000000000000ull
335 #define BIT58 0x0400000000000000ull
338 #define BIT59 0x0800000000000000ull
341 #define BIT60 0x1000000000000000ull
344 #define BIT61 0x2000000000000000ull
347 #define BIT62 0x4000000000000000ull
350 #define BIT63 0x8000000000000000ull
AGESA_STATUS(* IMAGE_ENTRY)(IN OUT void *ConfigPtr)
ALLOCATION_METHOD
This allocation type is used by the AmdCreateStruct entry point.
@ PostMemDram
Create heap in memory.
@ ByHost
Create heap by Host.
@ PreMemHeap
Create heap in cache.
AGESA_STATUS(* CALLOUT_ENTRY)(unsigned int Param1, unsigned int Param2, void *ConfigPtr)
unsigned int AGESA_STATUS
struct _AMD_IMAGE_HEADER AMD_IMAGE_HEADER
AGESA Binary module header structure.
HT_FREQUENCIES
HT frequency for external callbacks.
@ HT_FREQUENCY_1800M
HT speed 1800 for external callbacks.
@ HT_FREQUENCY_2400M
HT speed 2400 for external callbacks.
@ HT_FREQUENCY_200M
HT speed 200 for external callbacks.
@ HT_FREQUENCY_1600M
HT speed 1600 for external callbacks.
@ HT_FREQUENCY_600M
HT speed 600 for external callbacks.
@ HT_FREQUENCY_1200M
HT speed 1200 for external callbacks.
@ HT_FREQUENCY_3200M
HT speed 3200 for external callbacks.
@ HT_FREQUENCY_2800M
HT speed 2800 for external callbacks.
@ HT_FREQUENCY_2200M
HT speed 2200 for external callbacks.
@ HT_FREQUENCY_2000M
HT speed 2000 for external callbacks.
@ HT_FREQUENCY_800M
HT speed 800 for external callbacks.
@ HT_FREQUENCY_1000M
HT speed 1000 for external callbacks.
@ HT_FREQUENCY_1400M
HT speed 1400 for external callbacks.
@ HT_FREQUENCY_400M
HT speed 400 for external callbacks.
@ HT_FREQUENCY_3000M
HT speed 3000 for external callbacks.
@ HT_FREQUENCY_2600M
HT speed 2600 for external callbacks.
AGESA_STATUS(* MODULE_ENTRY)(IN OUT void *ConfigPtr)
struct _AMD_MODULE_HEADER AMD_MODULE_HEADER
AGESA Binary module header structure.
ACCESS_WIDTH
These width descriptors are used by the library function, and others, to specify the data size.
@ AccessS3SaveWidth32
Save 32 bits data.
@ AccessWidth64
Access width is 64 bits.
@ AccessWidth16
Access width is 16 bits.
@ AccessS3SaveWidth16
Save 16 bits data.
@ AccessS3SaveWidth64
Save 64 bits data.
@ AccessWidth8
Access width is 8 bits.
@ AccessWidth32
Access width is 32 bits.
@ AccessS3SaveWidth8
Save 8 bits data.
struct _AMD_CONFIG_PARAMS AMD_CONFIG_PARAMS
The standard header for all AGESA services.
struct _CPUID_DATA CPUID_DATA
CPUID data received registers format.
The standard header for all AGESA services.
IN unsigned int ImageBasePtr
The AGESA Image base address.
IN unsigned int AltImageBasePtr
Alternate Image location.
IN unsigned int PcieBasePtr
PCIe MMIO Base address, if configured.
union _AMD_CONFIG_PARAMS::@1619 CALLBACK
IN OUT unsigned int Reserved[2]
This space is reserved for future use.
IN CALLOUT_ENTRY CalloutPtr
For Callout from AGESA.
IN unsigned int Func
The service desired,.
IN unsigned long long PlaceHolder
< Callback pointer
CPUID data received registers format.
IN OUT unsigned int ECX_Reg
CPUID instruction result in ECX.
IN OUT unsigned int EDX_Reg
CPUID instruction result in EDX.
IN OUT unsigned int EAX_Reg
CPUID instruction result in EAX.
IN OUT unsigned int EBX_Reg
CPUID instruction result in EBX.