Print this page
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>
*** 21,30 ****
--- 21,31 ----
/*
* 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
#define _SYS_BOOTCONF_H
*** 44,53 ****
--- 45,56 ----
#ifdef __cplusplus
extern "C" {
#endif
+ #define BP_MAX_STRLEN 32
+
/*
* Boot property names
*/
#define BP_CPU_APICID_ARRAY "cpu_apicid_array"
#define BP_LGRP_SLIT_ENABLE "lgrp_slit_enable"
*** 241,250 ****
--- 244,254 ----
#pragma rarely_called(bop_panic)
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.
* 64 bit data types are fixed for 32 bit PAE use.
*/