aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ziaee <ziaee@FreeBSD.org>2025-12-29 17:17:09 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2025-12-29 17:20:05 +0000
commitc6bd2aa8353c6c34dbff487132a7f7372752d0ad (patch)
tree462e09988813f188eb386bd7188385c5909ea579
parentc4bd487da73a28887f86750a5dc5832303592c5a (diff)
cpuctl.4: Formatting nits
+ Align ioctl list + Pad code examples + Tag spdx license identifier MFC after: 3 days
-rw-r--r--share/man/man4/cpuctl.47
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man4/cpuctl.4 b/share/man/man4/cpuctl.4
index fc42cf14f254..5846fc4129f8 100644
--- a/share/man/man4/cpuctl.4
+++ b/share/man/man4/cpuctl.4
@@ -1,3 +1,6 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
.\" Copyright (c) 2006-2008 Stanislav Sedov <stas@FreeBSD.org>
.\" All rights reserved.
.\"
@@ -63,7 +66,7 @@ All of the supported operations are invoked using the
.Xr ioctl 2
system call.
Currently, the following ioctls are defined:
-.Bl -tag -width CPUCTL_CPUID_COUNT
+.Bl -tag -width indent
.It Dv CPUCTL_RDMSR Fa cpuctl_msr_args_t *args
.It Dv CPUCTL_WRMSR Fa cpuctl_msr_args_t *args
Read/write CPU machine specific register.
@@ -92,6 +95,7 @@ typedef struct {
uint32_t data[4];
} cpuctl_cpuid_args_t;
.Ed
+.Pp
It is equivalent to the
.Dv CPUCTL_CPUID_COUNT
request with
@@ -107,6 +111,7 @@ typedef struct {
uint32_t data[4];
} cpuctl_cpuid_count_args_t;
.Ed
+.Pp
The
.Va level
field indicates the CPUID level to retrieve,