mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Check _BOOT flag.
This commit is contained in:
parent
6ee737aae3
commit
8ffa2e7954
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue