Page MenuHomeFreeBSD

vt: add comments for KDMKTONE ioctl implementation
ClosedPublic

Authored by emaste on Nov 1 2024, 4:29 PM.
Tags
None
Referenced Files
F133447629: D47395.id145869.diff
Sat, Oct 25, 9:12 PM
Unknown Object (File)
Thu, Oct 16, 10:12 AM
Unknown Object (File)
Tue, Oct 7, 3:08 AM
Unknown Object (File)
Sat, Oct 4, 1:02 AM
Unknown Object (File)
Sep 21 2025, 8:28 AM
Unknown Object (File)
Sep 9 2025, 10:49 PM
Unknown Object (File)
Sep 5 2025, 3:20 AM
Unknown Object (File)
Aug 13 2025, 7:11 AM
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

Lint
Lint Skipped
Unit
Tests Skipped