Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/dcons/dcons_os.c
Show All 12 Lines | |||||
/* global data */ | /* global data */ | ||||
static struct dcons_global dg; | static struct dcons_global dg; | ||||
struct dcons_global *dcons_conf; | struct dcons_global *dcons_conf; | ||||
static int poll_hz = DCONS_POLL_HZ; | static int poll_hz = DCONS_POLL_HZ; | ||||
static u_int poll_idle = DCONS_POLL_HZ * DCONS_POLL_IDLE; | static u_int poll_idle = DCONS_POLL_HZ * DCONS_POLL_IDLE; | ||||
static struct dcons_softc sc[DCONS_NPORT]; | static struct dcons_softc sc[DCONS_NPORT]; | ||||
static SYSCTL_NODE(_kern, OID_AUTO, dcons, CTLFLAG_RD, 0, "Dumb Console"); | static SYSCTL_NODE(_kern, OID_AUTO, dcons, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"Dumb Console"); | |||||
SYSCTL_INT(_kern_dcons, OID_AUTO, poll_hz, CTLFLAG_RW, &poll_hz, 0, | SYSCTL_INT(_kern_dcons, OID_AUTO, poll_hz, CTLFLAG_RW, &poll_hz, 0, | ||||
"dcons polling rate"); | "dcons polling rate"); | ||||
static int drv_init = 0; | static int drv_init = 0; | ||||
static struct callout dcons_callout; | static struct callout dcons_callout; | ||||
struct dcons_buf *dcons_buf; /* for local dconschat */ | struct dcons_buf *dcons_buf; /* for local dconschat */ | ||||
static void dcons_timeout(void *); | static void dcons_timeout(void *); | ||||
Show All 12 Lines |