summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:02:21 +0900
commite86050875d72dbe2f80d3475220f769d7928f30b (patch)
tree479ba0579d6cc2d1fe2656a49f992f083fab509d /i386/i386at
parent9bf69217ac9b64c9167956579c5284a9abcb73fe (diff)
i386/i386at/immc.c, kd.c: use boolean instead of an int
* i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int. * i386/i386at/kd.c (immediate_console_enable): Likewise.
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/immc.c2
-rw-r--r--i386/i386at/kd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386at/immc.c b/i386/i386at/immc.c
index db64620..b85eb07 100644
--- a/i386/i386at/immc.c
+++ b/i386/i386at/immc.c
@@ -33,7 +33,7 @@
so it can be used to debug things that happen very early
before any devices are initialized. */
-int immediate_console_enable = 1;
+boolean_t immediate_console_enable = TRUE;
void
immc_cnputc(unsigned char c)
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index def8a0c..24d999a 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -1189,8 +1189,8 @@ kdinit()
/* Now that we're set up, we no longer need or want the
immediate console. */
{
- extern int immediate_console_enable;
- immediate_console_enable = 0;
+ extern boolean_t immediate_console_enable;
+ immediate_console_enable = FALSE;
}
/* The immediate console printed stuff at the bottom of the