diff options
author | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2004-10-22 15:03:22 +0000 |
---|---|---|
committer | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2004-10-22 15:03:22 +0000 |
commit | 8ffa2e795461abf7829b174fac33954dc3786714 (patch) | |
tree | d55f764626ec7973346718c5efea050a523a7f55 /sys/dev/dcons | |
parent | 6ee737aae3cecbf504e58603d017517919dcfe27 (diff) | |
download | src-8ffa2e795461abf7829b174fac33954dc3786714.tar.gz src-8ffa2e795461abf7829b174fac33954dc3786714.zip |
Check _BOOT flag.
Notes
Notes:
svn path=/head/; revision=136781
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r-- | sys/dev/dcons/dcons.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dcons/dcons.h b/sys/dev/dcons/dcons.h index 5fdc82022343..988c81f2722c 100644 --- a/sys/dev/dcons/dcons.h +++ b/sys/dev/dcons/dcons.h @@ -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; |