aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/efidev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-08-25 19:33:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-08-25 19:33:00 +0000
commit8173fa60ddb7e9a805dec9fef7bf07e74ae4144d (patch)
treec0a45f13a773a00ebd957a90a24b038cd1e280ad /sys/dev/efidev
parent3d8ef251aa9dceabd57f7821a0e6749d35317db3 (diff)
Diffstat (limited to 'sys/dev/efidev')
-rw-r--r--sys/dev/efidev/efirt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/efidev/efirt.c b/sys/dev/efidev/efirt.c
index 535a6caa75bd..2d45b4d6ac66 100644
--- a/sys/dev/efidev/efirt.c
+++ b/sys/dev/efidev/efirt.c
@@ -285,6 +285,11 @@ rt_ok(void)
return (0);
}
+/*
+ * The fpu_kern_enter() call in allows firmware to use FPU, as
+ * mandated by the specification. It also enters a critical section,
+ * giving us neccessary protection against context switches.
+ */
static int
efi_enter(void)
{