summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2014-06-23 12:43:30 +0000
committerbrueffer <brueffer@FreeBSD.org>2014-06-23 12:43:30 +0000
commit86dd35b722bd74a5ca327b5481a96f9faa491787 (patch)
tree1ebaa6d7987fd6dc74818eaa0f9550f2a5b87892 /share
parent7163c791983c0f54683941b66da3004d125a2f52 (diff)
downloadFreeBSD-src-86dd35b722bd74a5ca327b5481a96f9faa491787.zip
FreeBSD-src-86dd35b722bd74a5ca327b5481a96f9faa491787.tar.gz
Several small fixes (typos, grammar, mdoc).
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/fpu_kern.912
1 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man9/fpu_kern.9 b/share/man/man9/fpu_kern.9
index a0263fe..207e5e8 100644
--- a/share/man/man9/fpu_kern.9
+++ b/share/man/man9/fpu_kern.9
@@ -23,8 +23,8 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 21, 2014
-.Dt KERN_FPU 9
+.Dd June 23, 2014
+.Dt FPU_KERN 9
.Os
.Sh NAME
.Nm fpu_kern
@@ -47,11 +47,11 @@ The
.Nm
family of functions allows the use of FPU hardware in kernel code.
Modern FPUs are not limited to providing hardware implementation for
-floating point arithmetic, they offer advanced accelerators for cryptography
+floating point arithmetic; they offer advanced accelerators for cryptography
and other computational-intensive algorithms.
These facilities share registers with the FPU hardware.
.Pp
-Typical kernel code does not need to access to the FPU.
+Typical kernel code does not need access to the FPU.
Saving a large register file on each entry to the kernel would waste
time.
When kernel code uses the FPU, the current FPU state must be saved to
@@ -80,6 +80,7 @@ without sleep.
.It 0
No special handling is required.
.El
+.Pp
The function returns the allocated context area, or
.Va NULL
if the allocation failed.
@@ -121,6 +122,7 @@ The
function correctly handles such contexts.
.El
.El
+.Pp
The function does not sleep or block.
It could cause the
.Nm Device Not Available
@@ -173,7 +175,7 @@ and false otherwise.
.Sh NOTES
The
.Nm
-is currently implemented only for i386 and amd64 architectures.
+is currently implemented only for the i386 and amd64 architectures.
.Pp
There is no way to handle floating point exceptions raised from
kernel mode.
OpenPOWER on IntegriCloud