*** empty log message ***
authorkeie <none@none>
Thu, 21 Mar 1985 14:04:45 +0000 (14:04 +0000)
committerkeie <none@none>
Thu, 21 Mar 1985 14:04:45 +0000 (14:04 +0000)
12 files changed:
mach/m68k4/libsys/acct.s [new file with mode: 0644]
mach/m68k4/libsys/chown.s [new file with mode: 0644]
mach/m68k4/libsys/dup.s [new file with mode: 0644]
mach/m68k4/libsys/dup2.s [new file with mode: 0644]
mach/m68k4/libsys/errno.s [new file with mode: 0644]
mach/m68k4/libsys/ftime.s [new file with mode: 0644]
mach/m68k4/libsys/lock.s [new file with mode: 0644]
mach/m68k4/libsys/pipe.s [new file with mode: 0644]
mach/m68k4/libsys/profil.s [new file with mode: 0644]
mach/m68k4/libsys/ptrace.s [new file with mode: 0644]
mach/m68k4/libsys/umask.s [new file with mode: 0644]
mach/m68k4/libsys/utime.s [new file with mode: 0644]

diff --git a/mach/m68k4/libsys/acct.s b/mach/m68k4/libsys/acct.s
new file mode 100644 (file)
index 0000000..b4ba8b6
--- /dev/null
@@ -0,0 +1,6 @@
+.define _acct
+.extern _acct
+.text
+_acct:         move.w #0x33,d0
+               move.l 4(sp),a0
+               jmp callc
diff --git a/mach/m68k4/libsys/chown.s b/mach/m68k4/libsys/chown.s
new file mode 100644 (file)
index 0000000..d0f71f2
--- /dev/null
@@ -0,0 +1,8 @@
+.define _chown
+.extern _chown
+.text
+_chown:                move.w #0x10,d0
+               move.l 4(sp),a0
+               move.l 8(sp),d1
+               move.l 12(sp),a1
+               jmp callc
diff --git a/mach/m68k4/libsys/dup.s b/mach/m68k4/libsys/dup.s
new file mode 100644 (file)
index 0000000..20e7dbe
--- /dev/null
@@ -0,0 +1,6 @@
+.define _dup
+.extern _dup
+.text
+_dup:          move.w #0x29,d0
+               move.l 4(sp),a0
+               jmp call
diff --git a/mach/m68k4/libsys/dup2.s b/mach/m68k4/libsys/dup2.s
new file mode 100644 (file)
index 0000000..9d5a20e
--- /dev/null
@@ -0,0 +1,8 @@
+.define _dup2
+.extern _dup2
+.text
+_dup2:         move.w #0x29,d0
+               move.l 4(sp),a0
+               move.l 8(sp),d1
+               or.l #0x40,a0
+               jmp call
diff --git a/mach/m68k4/libsys/errno.s b/mach/m68k4/libsys/errno.s
new file mode 100644 (file)
index 0000000..e7ce8bb
--- /dev/null
@@ -0,0 +1,5 @@
+.define _errno
+.extern _errno
+.bss
+_errno:                .space 4
+.text
diff --git a/mach/m68k4/libsys/ftime.s b/mach/m68k4/libsys/ftime.s
new file mode 100644 (file)
index 0000000..432ed3f
--- /dev/null
@@ -0,0 +1,6 @@
+.define _ftime
+.extern _ftime
+.text
+_ftime:                move.w #0x23,d0
+               move.l 4(sp),a0
+               jmp callc
diff --git a/mach/m68k4/libsys/lock.s b/mach/m68k4/libsys/lock.s
new file mode 100644 (file)
index 0000000..408371a
--- /dev/null
@@ -0,0 +1,6 @@
+.define _lock
+.extern _lock
+.text
+_lock:         move.w #0x35,d0
+               move.l 4(sp),a0
+               jmp callc
diff --git a/mach/m68k4/libsys/pipe.s b/mach/m68k4/libsys/pipe.s
new file mode 100644 (file)
index 0000000..2cb786e
--- /dev/null
@@ -0,0 +1,13 @@
+.define _pipe
+.extern _pipe
+_pipe:         
+               mov.w #0x2A,d0
+               trap #0
+               bcc 1f
+               jmp cerror
+1:
+               move.l 4(sp),a0
+               move.l d0,(a0)+
+               move.l d1,(a0)
+               clr.l d0
+               rts
diff --git a/mach/m68k4/libsys/profil.s b/mach/m68k4/libsys/profil.s
new file mode 100644 (file)
index 0000000..8a55cbb
--- /dev/null
@@ -0,0 +1,10 @@
+.define _profil
+.extern _profil
+.text
+_profil:       move.w #0x2C,d0
+               move.l 4(sp),a0
+               move.l 8(sp),d1
+               move.l 12(sp),a1
+               move.l 16(sp),d2
+               trap #0
+               rts
diff --git a/mach/m68k4/libsys/ptrace.s b/mach/m68k4/libsys/ptrace.s
new file mode 100644 (file)
index 0000000..b0f5973
--- /dev/null
@@ -0,0 +1,12 @@
+.define _ptrace
+.extern _ptrace
+.extern _errno
+.text
+_ptrace:       move.w #0x1A,d0
+               move.l 16(sp),a0
+               move.l 12(sp),d1
+               move.l 8(sp),a1
+               move.l 4(sp),d2
+               clr.l  _errno
+               trap #0
+               rts
diff --git a/mach/m68k4/libsys/umask.s b/mach/m68k4/libsys/umask.s
new file mode 100644 (file)
index 0000000..ff7ec06
--- /dev/null
@@ -0,0 +1,6 @@
+.define _umask
+.extern _umask
+.text
+_umask:                move.w #0x3C,d0
+               move.l 4(sp),a0
+               jmp call
diff --git a/mach/m68k4/libsys/utime.s b/mach/m68k4/libsys/utime.s
new file mode 100644 (file)
index 0000000..0e0b6dd
--- /dev/null
@@ -0,0 +1,7 @@
+.define _utime
+.extern _utime
+.text
+_utime:                move.w #0x1E,d0
+               move.l 4(sp),a0
+               move.l 8(sp),d1
+               jmp callc