Hi!

Here are compat_openbsd for sparc64 target (misses license notes):

https://raw.github.com/druga/aeriebsd-tree/master/sys/arch/sparc64/include/openbsd_machdep.h
https://raw.github.com/druga/aeriebsd-tree/master/sys/arch/sparc64/sparc64/patch-locore.s
https://raw.github.com/druga/aeriebsd-tree/master/sys/arch/sparc64/sparc64/patch-trap.c

And fixes for building of custom kernels:

option XFS
--- sys/xfs/xfs_locl.h.orig     Tue Sep 11 10:58:38 2012
+++ sys/xfs/xfs_locl.h  Tue Sep 11 11:01:03 2012
@@ -421,3 +421,5 @@ int     ubc_pushdirty (struct vnode *);
        int xfs_##n(struct vop_##n##_args *);

#include "xfs/xfs_vopdefs.h"
+
+int sys_xfspioctl(struct proc *, void *, register_t *);

option COMPAT_OPENBSD
#option NFSCLIENT
--- sys/compat/openbsd/Makefile.orig    Tue Sep 11 11:11:58 2012
+++ sys/compat/openbsd/Makefile Tue Sep 11 11:11:26 2012
@@ -1,7 +1,7 @@

SYS=    ../..
DEP=    syscalls.conf syscalls.master ${SYS}/kern/makesyscalls.sh
-OBJS=  openbsd_sysent.c openbsd_syscalls.c \
+OBJS=  openbsd_sysent.c openbsd_file.c openbsd_syscalls.c \
        openbsd_syscall.h openbsd_syscallargs.h

${OBJS}: ${DEP}
--- sys/compat/openbsd/openbsd_file.c.orig      Tue Sep 11 11:04:42 2012
+++ sys/compat/openbsd/openbsd_file.c   Tue Sep 11 11:07:19 2012
@@ -352,7 +352,6 @@ openbsd_sys_rmdir(struct proc *p, void *v, register_t return sys_rmdir(p, uap, retval);
}

-#ifdef NFSCLIENT
int
openbsd_sys_getfh(struct proc *p, void *v, register_t *retval)
{
@@ -365,7 +364,6 @@ openbsd_sys_getfh(struct proc *p, void *v, register_t OPENBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, fname));
        return sys_getfh(p, uap, retval);
}
-#endif /* NFSCLIENT */

int
openbsd_sys_access(struct proc *p, void *v, register_t *retval)

--
dukzcry

Reply via email to