summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/smbios.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/smbios.h')
-rw-r--r--usr/src/uts/common/sys/smbios.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/smbios.h b/usr/src/uts/common/sys/smbios.h
index 3bb4f3eeba..187ec2c63f 100644
--- a/usr/src/uts/common/sys/smbios.h
+++ b/usr/src/uts/common/sys/smbios.h
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -40,8 +40,6 @@
#ifndef _SYS_SMBIOS_H
#define _SYS_SMBIOS_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#ifdef __cplusplus
@@ -131,6 +129,18 @@ typedef struct smbios_entry {
#define SMB_TYPE_OEM_HI 256 /* end of OEM-specific type range */
/*
+ * OEM string indicating "Platform Resource Management Specification"
+ * compliance.
+ */
+#define SMB_PRMS1 "SUNW-PRMS-1"
+
+/*
+ * Some default values set by BIOS vendor
+ */
+#define SMB_DEFAULT1 "To Be Filled By O.E.M."
+#define SMB_DEFAULT2 "Not Available"
+
+/*
* SMBIOS Common Information. These structures do not correspond to anything
* in the SMBIOS specification, but allow library clients to more easily read
* information that is frequently encoded into the various SMBIOS structures.
@@ -1137,6 +1147,9 @@ extern id_t smbios_info_hwsec(smbios_hdl_t *, smbios_hwsec_t *);
extern id_t smbios_info_boot(smbios_hdl_t *, smbios_boot_t *);
extern id_t smbios_info_ipmi(smbios_hdl_t *, smbios_ipmi_t *);
+extern const char *smbios_psn(smbios_hdl_t *);
+extern const char *smbios_csn(smbios_hdl_t *);
+
#ifndef _KERNEL
/*
* The smbios_*_desc() and smbios_*_name() interfaces can be used for utilities