HomeFreeBSD

vt: store a pointer to the keyboard instead of index

Description

vt: store a pointer to the keyboard instead of index

This effectively reverts r355935, but is functionally equivalent. We gain no
benefit from storing the index and repeatedly fetching the keyboard with
kbd_get_keyboard when we need it. We'll be notified when it's going away
so we can clean up the pointer.

All existing references were trivially converted. Only once instance
actually needed the index.

Details

Provenance
kevansAuthored on Dec 20 2019, 5:15 PM
Parents
rGdb41cd0e0625: Kill off dummy kbd drivers
Branches
Unknown
Tags
Unknown

Event Timeline