~ubuntu-branches/ubuntu/wily/edk2/wily

« back to all changes in this revision

Viewing changes to UefiCpuPkg/Include/Library/UefiCpuLib.h

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2013-02-10 13:11:25 UTC
  • Revision ID: package-import@ubuntu.com-20130210131125-0zwkb8f8m4ecia4m
Tags: upstream-0~20121205.edae8d2d
ImportĀ upstreamĀ versionĀ 0~20121205.edae8d2d

Show diffs side-by-side

added added

removed removed

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