]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/Include/Library/UefiCpuLib.h
UefiCpuPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / UefiCpuPkg / Include / Library / UefiCpuLib.h
1 /** @file
2 Public header file for UEFI CPU library class.
3
4 This library class defines some routines that are generic for IA32 family CPU
5 to be UEFI specification compliant.
6
7 Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 #ifndef __UEFI_CPU_LIB_H__
13 #define __UEFI_CPU_LIB_H__
14
15
16
17 /**
18 Initializes floating point units for requirement of UEFI specification.
19
20 This function initializes floating-point control word to 0x027F (all exceptions
21 masked,double-precision, round-to-nearest) and multimedia-extensions control word
22 (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
23 for masked underflow).
24
25 **/
26 VOID
27 EFIAPI
28 InitializeFloatingPointUnits (
29 VOID
30 );
31
32 #endif