summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/svr4/svr4_stat.c')
-rw-r--r--sys/compat/svr4/svr4_stat.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_stat.c b/sys/compat/svr4/svr4_stat.c
index 81a37f5..8c7b9b8 100644
--- a/sys/compat/svr4/svr4_stat.c
+++ b/sys/compat/svr4/svr4_stat.c
@@ -448,6 +448,18 @@ svr4_sys_systeminfo(td, uap)
str = machine;
break;
+ case SVR4_SI_ISALIST:
+#if defined(__sparc__)
+ str = "sparcv9 sparcv9-fsmuld sparcv8 sparcv8-fsmuld sparcv7 sparc";
+#elif defined(__i386__)
+ str = "i386";
+#elif defined(__amd64__)
+ str = "amd64";
+#else
+ str = "unknown";
+#endif
+ break;
+
case SVR4_SI_HW_SERIAL:
snprintf(buf, sizeof(buf), "%lu", hostid);
str = buf;
@@ -463,7 +475,7 @@ svr4_sys_systeminfo(td, uap)
break;
case SVR4_SI_PLATFORM:
-#ifdef __i386__
+#if defined(__i386__)
str = "i86pc";
#else
str = "unknown";
OpenPOWER on IntegriCloud