]>
Commit | Line | Data |
---|---|---|
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 | |
7 | Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r | |
8 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
9 | \r | |
10 | **/\r | |
11 | \r | |
12 | #ifndef __UEFI_CPU_LIB_H__\r | |
13 | #define __UEFI_CPU_LIB_H__\r | |
14 | \r | |
15 | \r | |
16 | \r | |
17 | /**\r | |
18 | Initializes floating point units for requirement of UEFI specification.\r | |
19 | \r | |
20 | This function initializes floating-point control word to 0x027F (all exceptions\r | |
21 | masked,double-precision, round-to-nearest) and multimedia-extensions control word\r | |
22 | (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero\r | |
23 | for masked underflow).\r | |
24 | \r | |
25 | **/\r | |
26 | VOID\r | |
27 | EFIAPI\r | |
28 | InitializeFloatingPointUnits (\r | |
29 | VOID\r | |
30 | );\r | |
31 | \r | |
32 | #endif\r |