]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restructure the grabbing functions into mere wrappers of new open and
authorbde <bde@FreeBSD.org>
Mon, 15 Aug 2016 19:37:18 +0000 (19:37 +0000)
committerbde <bde@FreeBSD.org>
Mon, 15 Aug 2016 19:37:18 +0000 (19:37 +0000)
commitaeece5ab80de80fec1bc9f0370521461254dd6a7
tree92e9de4148cd94bcdd841e0ae40371307e0a52bf
parent20b89ec2916d4d934641875bb9a0b38e414fd857
Restructure the grabbing functions into mere wrappers of new open and
close functions.  Scattered calls to sc_cnputc() and sc_cngetc() were
broken by turning the semi-reentrant inline context-switching code in
these functions into the grabbing functions.  cncheckc() calls for
panic dumps are the main broken case.  The grabbing functions have
special behaviour (mainly screen switching in sc_cngrab()) which makes
them unsuitable as replacements for the inline code.
sys/dev/syscons/syscons.c