]>
Commit | Line | Data |
---|---|---|
989322c3 | 1 | /** @file\r |
2 | Public header file for UEFI CPU library class.\r | |
3 | \r | |
4 | This library class defines some routines that are generic for IA32 family CPU\r | |
5 | to be UEFI specification compliant.\r | |
6 | \r | |
01a1c0fc | 7 | Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r |
df667535 | 8 | Copyright (c) 2020, AMD Inc. All rights reserved.<BR>\r |
0acd8697 | 9 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
989322c3 | 10 | \r |
11 | **/\r | |
12 | \r | |
13 | #ifndef __UEFI_CPU_LIB_H__\r | |
14 | #define __UEFI_CPU_LIB_H__\r | |
15 | \r | |
16 | \r | |
17 | \r | |
18 | /**\r | |
19 | Initializes floating point units for requirement of UEFI specification.\r | |
20 | \r | |
21 | This function initializes floating-point control word to 0x027F (all exceptions\r | |
22 | masked,double-precision, round-to-nearest) and multimedia-extensions control word\r | |
23 | (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero\r | |
24 | for masked underflow).\r | |
25 | \r | |
26 | **/\r | |
27 | VOID\r | |
28 | EFIAPI\r | |
29 | InitializeFloatingPointUnits (\r | |
30 | VOID\r | |
31 | );\r | |
32 | \r | |
df667535 KG |
33 | /**\r |
34 | Determine if the standard CPU signature is "AuthenticAMD".\r | |
35 | \r | |
36 | @retval TRUE The CPU signature matches.\r | |
37 | @retval FALSE The CPU signature does not match.\r | |
38 | \r | |
39 | **/\r | |
40 | BOOLEAN\r | |
41 | EFIAPI\r | |
42 | StandardSignatureIsAuthenticAMD (\r | |
43 | VOID\r | |
44 | );\r | |
45 | \r | |
989322c3 | 46 | #endif\r |