summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-07-26 19:38:29 +0300
committerRobert Mustacchi <rm@joyent.com>2018-08-16 23:20:42 +0000
commit70ee30a511f4abfd1b9cdf25495a219fe131829a (patch)
tree48de9e3b5cc18175230f335e266063d729fd1063 /usr/src
parentca876c1c4225b51f8e1c2763b28e8466add83a0b (diff)
downloadillumos-gate-70ee30a511f4abfd1b9cdf25495a219fe131829a.tar.gz
9719 uts/i86pc: add way to set bootrd_debug
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/i86pc/os/fakebop.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/os/fakebop.c b/usr/src/uts/i86pc/os/fakebop.c
index a62e45d89d..ff5e4ea7a4 100644
--- a/usr/src/uts/i86pc/os/fakebop.c
+++ b/usr/src/uts/i86pc/os/fakebop.c
@@ -620,6 +620,7 @@ boot_prop_finish(void)
char *consoledev;
uint64_t lvalue;
int use_xencons = 0;
+ extern int bootrd_debug;
#ifdef __xpv
if (!DOMAIN_IS_INITDOMAIN(xen_info))
@@ -737,6 +738,12 @@ done:
early_allocation = 0;
/*
+ * Check for bootrd_debug.
+ */
+ if (find_boot_prop("bootrd_debug"))
+ bootrd_debug = 1;
+
+ /*
* check to see if we have to override the default value of the console
*/
if (!use_xencons) {
@@ -2594,7 +2601,7 @@ process_msct(ACPI_TABLE_MSCT *tp)
item = (void *)(item->Length + (uintptr_t)item)) {
/*
* Sanity check according to section 5.2.19.1 of ACPI 4.0.
- * Revision 1
+ * Revision 1
* Length 22
*/
if (item->Revision != 1 || item->Length != 22) {