diff options
author | Wojciech Macek <wma@FreeBSD.org> | 2018-01-11 09:42:24 +0000 |
---|---|---|
committer | Wojciech Macek <wma@FreeBSD.org> | 2018-01-11 09:42:24 +0000 |
commit | fc1689021fa971ce54f7c3170ce998164720f88c (patch) | |
tree | 0b83f462c59099dbb99f683608e756d824c75c2f /libexec/smrsh | |
parent | c0248976017f14f58a365357863592e55b558737 (diff) | |
download | src-fc1689021fa971ce54f7c3170ce998164720f88c.tar.gz src-fc1689021fa971ce54f7c3170ce998164720f88c.zip |
PowerNV: add buffer for OPAL console
Avoid the lock in vtophys() by providing a static direct-mapped
spinlock- protected output buffer to use when the console driver
cannot acquire locks for some reason. This allows the idle thread
to use printf() (e.g. the SMP startup messages) without crashing
the kernel.
Created by: Nathan Whitehorn <nwhitehorn@freebsd.org>
Submitted by: Wojciech Macek <wma@freebsd.org>
Sponsored by: FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=327815
Diffstat (limited to 'libexec/smrsh')
0 files changed, 0 insertions, 0 deletions