commit | fcd5ace00b333ce31b11b02a2243dfbf39307f10 | [log] [tgz] |
---|---|---|
author | Eric Biederman <ebiederm@xmission.com> | Thu Oct 14 19:29:29 2004 +0000 |
committer | Eric Biederman <ebiederm@xmission.com> | Thu Oct 14 19:29:29 2004 +0000 |
tree | d686d752ccea9b185b0008c70d8523749b26e2dd | |
parent | 98e619b1cefcb9871185f4cc3db85fa430dcdbce [diff] [blame] |
- Add new cvs code to cvs git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1657 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/cpu/x86/fpu/enable_fpu.inc b/src/cpu/x86/fpu/enable_fpu.inc new file mode 100644 index 0000000..e663e36 --- /dev/null +++ b/src/cpu/x86/fpu/enable_fpu.inc
@@ -0,0 +1,9 @@ + /* preserve BIST in %eax */ + movl %eax, %ebp + + /* Disable floating point emulation */ + movl %cr0, %eax + andl $~(1<<2), %eax + movl %eax, %cr0 + + movl %ebp, %eax