Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch

Module Name:    src
Committed By:   dsl
Date:           Tue Feb  4 21:09:24 UTC 2014

Modified Files:
        src/sys/arch/amd64/amd64: fpu.c
        src/sys/arch/i386/i386: i386_trap.S
        src/sys/arch/i386/isa: npx.c
        src/sys/arch/x86/include: cpu.h

Log Message:
There is no need to check for recursive calls into fpudna().
Rename the associated ci_fpsaving field to 'unused'.
I'm not sure they could ever happen, you could get unwanted calls into
  the fpu trap code while saving state when using INT13 - but these are
The return value from the i386 fpudna() was always 1 - possibly a historic
  relic of the kernel fp emulation. Remove and don't check in trap.S.
The amd64 and i386 fpudna() code is now almost identical.

To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/amd64/amd64/fpu.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/i386/i386_trap.S
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/i386/isa/npx.c
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/x86/include/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index