diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-10-05 15:31:01 +0200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-10-19 13:56:01 +0200 |
| commit | 5c02696d1561f543e1b03967cb8224cb6c4a3493 (patch) | |
| tree | f1b7fce613d2bb4656f86bc3d0de73268ebbfede /include/linux/debugobjects.h | |
| parent | 64527782d4e1c7a4ffb8e35a68fdb1249ff4656e (diff) | |
vgacon: Use vt_cursor_{start,end}()
Replace vgacon's custom cursor metrics with the shared helpers
vc_cursor_start() and vc_font_cursor_end(). Note that the _end()
function returns the index of the scanline below the cursor, while
VGA hardware expects the cursor's final scanline. Hence vgacon
subtracts 1 from the end value.
The cursor shapes remain mostly unchanged, except that non-underline
cursors now also use the glyph's top-most and bottom-most scanline.
This follows the style used by fbcon.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
