]>
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 HT |
7 | Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r |
8 | This program and the accompanying materials\r | |
989322c3 | 9 | are licensed and made available under the terms and conditions of the BSD License\r |
10 | which accompanies this distribution. The full text of the license may be found at\r | |
11 | http://opensource.org/licenses/bsd-license.php\r | |
12 | \r | |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | \r | |
16 | **/\r | |
17 | \r | |
18 | #ifndef __UEFI_CPU_LIB_H__\r | |
19 | #define __UEFI_CPU_LIB_H__\r | |
20 | \r | |
21 | \r | |
22 | \r | |
23 | /**\r | |
24 | Initializes floating point units for requirement of UEFI specification.\r | |
25 | \r | |
26 | This function initializes floating-point control word to 0x027F (all exceptions\r | |
27 | masked,double-precision, round-to-nearest) and multimedia-extensions control word\r | |
28 | (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero\r | |
29 | for masked underflow).\r | |
30 | \r | |
31 | **/\r | |
32 | VOID\r | |
33 | EFIAPI\r | |
34 | InitializeFloatingPointUnits (\r | |
35 | VOID\r | |
36 | );\r | |
37 | \r | |
38 | #endif\r |