summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-09-30 19:06:45 +0000
committerjake <jake@FreeBSD.org>2001-09-30 19:06:45 +0000
commit8b63e530255f212acc985bf964eb624f206fc8d1 (patch)
treeee5497e9b4ca21eb30a0104b10b4a0f813f9afc2
parentfdfc3c2c601a5cc1ec96e1e25acd98b05649a171 (diff)
downloadFreeBSD-src-8b63e530255f212acc985bf964eb624f206fc8d1.zip
FreeBSD-src-8b63e530255f212acc985bf964eb624f206fc8d1.tar.gz
Implement sysarch().
-rw-r--r--sys/sparc64/sparc64/sys_machdep.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/sys_machdep.c b/sys/sparc64/sparc64/sys_machdep.c
index df0c16e..b3db6a6 100644
--- a/sys/sparc64/sparc64/sys_machdep.c
+++ b/sys/sparc64/sparc64/sys_machdep.c
@@ -40,6 +40,13 @@ struct sysarch_args {
int
sysarch(struct thread *td, struct sysarch_args *uap)
{
- TODO;
- return (0);
+ int error;
+
+ error = 0;
+ switch (uap->op) {
+ default:
+ error = EINVAL;
+ break;
+ }
+ return (error);
}
OpenPOWER on IntegriCloud