Check _BOOT flag.

This commit is contained in:
simokawa 2004-10-22 15:03:22 +00:00
parent 115129ef7c
commit 251f5975d3

View File

@ -35,7 +35,7 @@
* $FreeBSD$
*/
#ifdef _KERNEL
#if defined(_KERNEL) || defined(_BOOT)
#define V volatile
#else
#define V
@ -74,7 +74,7 @@ struct dcons_ch {
u_int32_t size;
u_int32_t gen;
u_int32_t pos;
#ifdef _KERNEL
#if defined(_KERNEL) || defined(_BOOT)
V u_int32_t *ptr;
V char *buf;
#else
@ -89,7 +89,7 @@ struct dcons_ch {
#define STATE1 1
#define STATE2 2
#ifdef _KERNEL
#if defined(_KERNEL) || defined(_BOOT)
struct dcons_softc {
struct dcons_ch o, i;
int brk_state;