summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-12-04 12:26:50 +0200
committerDan McDonald <danmcd@joyent.com>2018-06-19 14:05:33 -0400
commit4a04e8db7f069cc2eb910470e630778f35ef3c44 (patch)
treef47141ae0d42a8987c8b493a5f8ca540ce5a00f3 /usr/src/uts/common/sys
parent9d1ccc13a7df03b1b5b6754fc08c980a323c5a37 (diff)
downloadillumos-gate-4a04e8db7f069cc2eb910470e630778f35ef3c44.tar.gz
8905 loader: add skein/edonr support
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Ken Mays <kmays2000@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/sys')
-rw-r--r--usr/src/uts/common/sys/debug.h2
-rw-r--r--usr/src/uts/common/sys/systm.h7
2 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/debug.h b/usr/src/uts/common/sys/debug.h
index 645716cd9c..e4a959205a 100644
--- a/usr/src/uts/common/sys/debug.h
+++ b/usr/src/uts/common/sys/debug.h
@@ -36,7 +36,9 @@
#ifndef _SYS_DEBUG_H
#define _SYS_DEBUG_H
+#if !defined(_STANDALONE)
#include <sys/isa_defs.h>
+#endif
#include <sys/types.h>
#include <sys/note.h>
diff --git a/usr/src/uts/common/sys/systm.h b/usr/src/uts/common/sys/systm.h
index 32af97f4fa..0a56d5d191 100644
--- a/usr/src/uts/common/sys/systm.h
+++ b/usr/src/uts/common/sys/systm.h
@@ -31,15 +31,21 @@
#ifndef _SYS_SYSTM_H
#define _SYS_SYSTM_H
+#if defined(_STANDALONE)
+#include <sys/cdefs.h>
+#include <string.h>
+#else
#include <sys/types.h>
#include <sys/t_lock.h>
#include <sys/proc.h>
#include <sys/dditypes.h>
+#endif
#ifdef __cplusplus
extern "C" {
#endif
+#if !defined(_STANDALONE)
/*
* The pc_t is the type of the kernel's program counter. In general, a
* pc_t is a uintptr_t -- except for a sparcv9 kernel, in which case all
@@ -508,6 +514,7 @@ extern int __lintzero; /* for spoofing lint */
#define __lintzero 0
#endif /* __lint */
#endif /* _KERNEL || _BOOT */
+#endif /* !_STANDALONE */
#ifdef __cplusplus
}