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)
Wed, Mar 12, 2:01 AM
Unknown Object (File)
Mar 5 2025, 3:11 AM
Unknown Object (File)
Mar 3 2025, 5:29 AM
Unknown Object (File)
Mar 2 2025, 1:09 AM
Unknown Object (File)
Feb 10 2025, 3:22 PM
Unknown Object (File)
Feb 8 2025, 7:12 AM
Unknown Object (File)
Feb 8 2025, 7:12 AM
Unknown Object (File)
Jan 28 2025, 2:29 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

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