]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r260889, r260890, r260911:
authorimp <imp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 1 Mar 2014 04:16:54 +0000 (04:16 +0000)
committerimp <imp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 1 Mar 2014 04:16:54 +0000 (04:16 +0000)
commitea970f0bd6655bad98253a919482f1c112535634
treef4dec5665294aedbe5d1458dcc6ef4f5938bc1af
parentbab3d6e34100fc481c2bc7299b87d2f477e47126
MFC: r260889, r260890, r260911:

r260911 | imp | 2014-01-20 10:45:36 -0700 (Mon, 20 Jan 2014) | 5 lines

Don't lock in the generic grab just to lock again in the specific grabs.

r260890 | imp | 2014-01-19 12:39:13 -0700 (Sun, 19 Jan 2014) | 11 lines

Introduce grab and ungrab upcalls. When the kernel desires to grab the
console, it calls the grab functions. These functions should turn off
the RX interrupts, and any others that interfere. This makes mountroot
prompt work again. If there's more generalized need other than
prompting, many of these routines should be expanded to do those new
things.

Reviewed by:    bde (with reservations)

git-svn-id: svn://svn.freebsd.org/base/stable/10@262649 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
18 files changed:
sys/arm/s3c2xx0/uart_dev_s3c2410.c
sys/arm/sa11x0/uart_dev_sa1110.c
sys/arm/xilinx/uart_dev_cdnc.c
sys/dev/uart/uart_core.c
sys/dev/uart/uart_cpu.h
sys/dev/uart/uart_dev_imx.c
sys/dev/uart/uart_dev_lpc.c
sys/dev/uart/uart_dev_ns8250.c
sys/dev/uart/uart_dev_ns8250.h
sys/dev/uart/uart_dev_pl011.c
sys/dev/uart/uart_dev_quicc.c
sys/dev/uart/uart_dev_sab82532.c
sys/dev/uart/uart_dev_z8530.c
sys/dev/uart/uart_if.m
sys/mips/adm5120/uart_dev_adm5120.c
sys/mips/atheros/uart_dev_ar933x.c
sys/mips/cavium/uart_dev_oct16550.c
sys/mips/rt305x/uart_dev_rt305x.c