UefiCpuPkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#------------------------------------------------------------------------------
|
||||
#*
|
||||
#* Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
#* Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#* This program and the accompanying materials
|
||||
#* are licensed and made available under the terms and conditions of the BSD License
|
||||
#* which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -27,31 +27,31 @@ ASM_PFX(InitializeFloatingPointUnits):
|
||||
# Initialize floating point units
|
||||
#
|
||||
finit
|
||||
|
||||
|
||||
#
|
||||
# Float control word initial value:
|
||||
# Float control word initial value:
|
||||
# all exceptions masked, double-precision, round-to-nearest
|
||||
#
|
||||
pushq $0x037F
|
||||
lea (%rsp), %rax
|
||||
lea (%rsp), %rax
|
||||
fldcw (%rax)
|
||||
popq %rax
|
||||
|
||||
|
||||
#
|
||||
# Set OSFXSR bit 9 in CR4
|
||||
#
|
||||
movq %cr4, %rax
|
||||
movq %cr4, %rax
|
||||
or $0x200, %rax
|
||||
movq %rax, %cr4
|
||||
|
||||
#
|
||||
# Multimedia-extensions control word:
|
||||
# all exceptions masked, round-to-nearest, flush to zero for masked underflow
|
||||
#
|
||||
#
|
||||
pushq $0x01F80
|
||||
lea (%rsp), %rax
|
||||
ldmxcsr (%rax)
|
||||
popq %rax
|
||||
|
||||
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user