Page MenuHomeFreeBSD

vt: add comments for KDMKTONE ioctl implementation
ClosedPublic

Authored by emaste on Nov 1 2024, 4:29 PM.
Tags
None
Referenced Files
F107389296: D47395.id145885.diff
Mon, Jan 13, 11:22 AM
Unknown Object (File)
Wed, Jan 8, 4:47 AM
Unknown Object (File)
Dec 8 2024, 11:39 PM
Unknown Object (File)
Dec 7 2024, 1:55 AM
Unknown Object (File)
Dec 2 2024, 11:45 AM
Unknown Object (File)
Nov 26 2024, 4:48 AM
Unknown Object (File)
Nov 21 2024, 2:53 PM
Unknown Object (File)
Nov 9 2024, 8:18 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