Page MenuHomeFreeBSD

vt: add comments for KDMKTONE ioctl implementation
ClosedPublic

Authored by emaste on Nov 1 2024, 4:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 1:11 AM
Unknown Object (File)
Fri, Nov 28, 10:14 PM
Unknown Object (File)
Thu, Nov 27, 2:17 PM
Unknown Object (File)
Nov 16 2025, 2:19 PM
Unknown Object (File)
Nov 4 2025, 1:08 PM
Unknown Object (File)
Oct 31 2025, 3:59 AM
Unknown Object (File)
Oct 27 2025, 10:31 AM
Unknown Object (File)
Oct 25 2025, 9:12 PM
Subscribers
None

Details

Summary

It appears we implemented the same KDMKTONE ioctl as Linux, which specifies the frequency as an 8254 PIT divisor for a 1.19MHz clock. 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." Nothing in the base system uses this ioctl.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable