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, Jan 30, 3:34 PM
Unknown Object (File)
Fri, Jan 30, 3:32 PM
Unknown Object (File)
Fri, Jan 30, 3:27 PM
Unknown Object (File)
Sun, Jan 25, 4:49 PM
Unknown Object (File)
Sun, Jan 25, 4:25 PM
Unknown Object (File)
Sat, Jan 24, 5:03 PM
Unknown Object (File)
Dec 12 2025, 1:11 AM
Unknown Object (File)
Nov 28 2025, 10:14 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