freebsd-dev/sys/dev/cfe
Kyle Evans 23d5326823 tty: convert tty_lock_assert to tty_assert_locked to hide lock type
A later change, currently being iterated on in D24459, will in-fact change
the lock type to an sx so that TTY drivers can sleep on it if they need to.
Committing this ahead of time to make the review in question a little more
palatable.

tty_lock_assert() is unfortunately still needed for now in two places to
make sure that the tty lock has not been recursed upon, for those scenarios
where it's supplied by the TTY driver and possibly a mutex that is allowed
to recurse.

Suggested by:	markj
2020-04-17 18:34:49 +00:00
..
cfe_api_int.h
cfe_api.c
cfe_api.h
cfe_console.c tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
cfe_env.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
cfe_error.h
cfe_ioctl.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
cfe_resource.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00