diff options
author | John Levon <john.levon@joyent.com> | 2019-03-27 09:43:53 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2019-04-03 22:37:38 -0700 |
commit | 0c26abfe36e56b0d0ca74a046c85dc41f76d1d59 (patch) | |
tree | ecbcac9de9cdac7219642161b3d462789168c6d0 /usr/src/uts/intel | |
parent | e0f1c0afa46cc84d4b1e40124032a9a87310386e (diff) | |
download | illumos-joyent-0c26abfe36e56b0d0ca74a046c85dc41f76d1d59.tar.gz |
10597 would like a way to set NMI behavior at boot
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/intel')
-rw-r--r-- | usr/src/uts/intel/sys/bootconf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/intel/sys/bootconf.h b/usr/src/uts/intel/sys/bootconf.h index 27a89206cf..f0ade9d94d 100644 --- a/usr/src/uts/intel/sys/bootconf.h +++ b/usr/src/uts/intel/sys/bootconf.h @@ -23,6 +23,7 @@ * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * Copyright 2016 Nexenta Systems, Inc. + * Copyright 2019, Joyent, Inc. */ #ifndef _SYS_BOOTCONF_H @@ -46,6 +47,8 @@ extern "C" { #endif +#define BP_MAX_STRLEN 32 + /* * Boot property names */ @@ -243,6 +246,7 @@ extern void bop_panic(const char *, ...) extern void boot_prop_finish(void); extern int bootprop_getval(const char *, u_longlong_t *); +extern int bootprop_getstr(const char *, char *, size_t); /* * Back door to fakebop.c to get physical memory allocated. |