opnsense-src/sys/dev/vt
Ed Maste 752c25c01c vt: add comments for KDMKTONE ioctl implementation
The KDMKTONE ioctl, introduced in commit 916347f77e, is used to beep
the PC speaker.  For historical reasons the frequency is specified as an
8254 PIT divisor for a 1.19MHz clock.  Linux provides this same ioctl.
Add a comment to vtterm_beep to avoid someone wanting to "fix" this in
the future.

Also add an XXX comment that the period unit is supposed to be "timer
ticks."  Note that nothing in the base system uses this ioctl.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47395

(cherry picked from commit adba3c74209eb5d2197b9092002cc9d7505fd3c6)
2024-11-04 08:54:10 -05:00
..
colors sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
font sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
hw vt: Add vd_bitblt_argb 2024-07-29 18:37:12 +02:00
logo sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vt.h vt: Add vd_bitblt_argb 2024-07-29 18:37:12 +02:00
vt_buf.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vt_consolectl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vt_core.c vt: add comments for KDMKTONE ioctl implementation 2024-11-04 08:54:10 -05:00
vt_cpulogos.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vt_font.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vt_sysmouse.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00