|
@@ -99,6 +99,7 @@ extern const char * dmi_get_system_info(int field);
|
|
extern const struct dmi_device * dmi_find_device(int type, const char *name,
|
|
extern const struct dmi_device * dmi_find_device(int type, const char *name,
|
|
const struct dmi_device *from);
|
|
const struct dmi_device *from);
|
|
extern void dmi_scan_machine(void);
|
|
extern void dmi_scan_machine(void);
|
|
|
|
+extern void dmi_set_dump_stack_arch_desc(void);
|
|
extern bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp);
|
|
extern bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp);
|
|
extern int dmi_name_in_vendors(const char *str);
|
|
extern int dmi_name_in_vendors(const char *str);
|
|
extern int dmi_name_in_serial(const char *str);
|
|
extern int dmi_name_in_serial(const char *str);
|
|
@@ -114,6 +115,7 @@ static inline const char * dmi_get_system_info(int field) { return NULL; }
|
|
static inline const struct dmi_device * dmi_find_device(int type, const char *name,
|
|
static inline const struct dmi_device * dmi_find_device(int type, const char *name,
|
|
const struct dmi_device *from) { return NULL; }
|
|
const struct dmi_device *from) { return NULL; }
|
|
static inline void dmi_scan_machine(void) { return; }
|
|
static inline void dmi_scan_machine(void) { return; }
|
|
|
|
+static inline void dmi_set_dump_stack_arch_desc(void) { }
|
|
static inline bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp)
|
|
static inline bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp)
|
|
{
|
|
{
|
|
if (yearp)
|
|
if (yearp)
|