From 31381203bd1bb29d0a0b1eb7c68b190e9e228124 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 24 Oct 1991 15:29:02 +0000 Subject: [PATCH] Some fixes --- mach/sparc/libsys/LIST | 2 +- mach/sparc/libsys/sync.s | 3 +++ mach/sparc/libsys/syscall.h | 8 ++++++++ mach/sparc/libsys/unmount.s | 7 ++++++- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 mach/sparc/libsys/sync.s diff --git a/mach/sparc/libsys/LIST b/mach/sparc/libsys/LIST index bb9583b3b..77e8ffbe0 100644 --- a/mach/sparc/libsys/LIST +++ b/mach/sparc/libsys/LIST @@ -104,7 +104,6 @@ mknod.s mmap.s mount.s mprotect.s -msync.s munmap.s nfssvc.s nice.c @@ -161,6 +160,7 @@ stime.c stty.c swapon.s symlink.s +sync.s tell.c time.c times.c diff --git a/mach/sparc/libsys/sync.s b/mach/sparc/libsys/sync.s new file mode 100644 index 000000000..6acbba9f8 --- /dev/null +++ b/mach/sparc/libsys/sync.s @@ -0,0 +1,3 @@ +#include "SYS.h" + +SYS_call_0(sync) diff --git a/mach/sparc/libsys/syscall.h b/mach/sparc/libsys/syscall.h index 0cc60ca58..3c3c17bc1 100644 --- a/mach/sparc/libsys/syscall.h +++ b/mach/sparc/libsys/syscall.h @@ -32,6 +32,7 @@ #define SYS_profil 44 #define SYS_getgid 47 #define SYS_acct 51 +#define SYS_mctl 53 #define SYS_ioctl 54 #define SYS_reboot 55 #define SYS_symlink 57 @@ -113,11 +114,15 @@ #define SYS_setrlimit 145 #define SYS_killpg 146 #define SYS_getsockname 150 +#define SYS_getmsg 151 +#define SYS_putmsg 152 +#define SYS_poll 153 #define SYS_nfssvc 155 #define SYS_getdirentries 156 #define SYS_statfs 157 #define SYS_fstatfs 158 #define SYS_umount 159 +#define SYS_unmount 159 #define SYS_async_daemon 160 #define SYS_getfh 161 #define SYS_getdomainname 162 @@ -129,3 +134,6 @@ #define SYS_semsys 169 #define SYS_msgsys 170 #define SYS_shmsys 171 +#define SYS_getdents 174 +#define SYS_fchdir 176 +#define SYS_fchroot 177 diff --git a/mach/sparc/libsys/unmount.s b/mach/sparc/libsys/unmount.s index bbe4f629f..43c3c9211 100644 --- a/mach/sparc/libsys/unmount.s +++ b/mach/sparc/libsys/unmount.s @@ -1,3 +1,8 @@ #include "SYS.h" -SYS_call_1(unmount) +.globl _unmount + +SYS_call_1(umount) + +_unmount: + b _umount -- 2.34.1