Commit Graph

463 Commits

Author SHA1 Message Date
itojun
9998fd3a57 revert previous 2002-04-10 09:53:01 +00:00
itojun
7aef2b4e07 make it compile (missing includes) 2002-04-10 09:37:51 +00:00
christos
866ad0f73f PR/16231: Ben Harris: m68k does not compile. 2002-04-08 13:27:37 +00:00
christos
e9c4f70b2f use lsi_ like all other linux emulations. 2002-04-04 22:17:29 +00:00
christos
eda21311fd save/restore fs and gs; this should be pulled up. 2002-04-02 22:32:16 +00:00
christos
840887afee bring the reverse signal mapping array into linux_signo.c 2002-03-31 22:40:16 +00:00
christos
ac29fb3782 make signal array handling uniform, and put signal arrays in a separate
file. This is simular to errno array handling.
2002-03-31 22:22:43 +00:00
christos
c9e808f0ee 1. fill in the ldt.sd_xx field, for total compat with linux.
2. in setregs, use gdt's instead of ldt's because linux wants to play with
   all the ldts. Apparently linuxthreads uses ldt's to allocate space for
   pthread_t's.
2002-03-29 17:01:49 +00:00
bjh21
99ba40c188 arm26->acorn26 transition. 2002-03-24 15:49:38 +00:00
chs
60b5cc6ac2 make this compile again (PS_STRINGS is gone). 2002-03-23 05:00:04 +00:00
christos
0a4f1c3d8f sync with current reality and fix debugging. 2002-03-22 18:39:23 +00:00
christos
5681411206 regen 2002-03-22 15:19:53 +00:00
christos
b3c32e7e6d nuke mmap2, add mprotect 2002-03-22 15:19:43 +00:00
christos
99ff14c9f3 regen 2002-03-22 15:18:48 +00:00
christos
45af46eb53 add mprotect, nuke mmap2 2002-03-22 15:18:13 +00:00
christos
b9a0007d1d regen 2002-03-22 15:17:17 +00:00
christos
190ffecb97 add mprotect, nuke mmap2 2002-03-22 15:17:04 +00:00
christos
7359db6620 regen 2002-03-22 15:16:14 +00:00
christos
24e38ed8f3 nuke mmap2 add mprotect 2002-03-22 15:16:02 +00:00
christos
f7f4206314 regen. 2002-03-22 15:15:08 +00:00
christos
2b9a2aabe8 nuke mmap2, add mprotect 2002-03-22 15:14:55 +00:00
christos
92945f57fe regen 2002-03-22 15:11:23 +00:00
christos
22111899d0 1. make sure lines don't wrap
2. fix mmap and call it mmap like other ports do, not mmap2
3. implement fcntl64
4. implement mprotect because linux treats args slightly differently.
2002-03-22 15:10:38 +00:00
christos
bda4b15e05 - Now that RT-signals fit, fix the array to deliver them. [i386 only].
- jdk-1.4 works perfectly now. :-)
2002-03-19 20:51:59 +00:00
christos
381e6a7764 make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.
2002-03-16 20:43:48 +00:00
pooka
28a03499e8 Replace unused padding in struct linux_stat64 by lst_ino64 as found in
linux's m68k struct stat64.

makes linux compat compile again
2002-03-16 14:49:29 +00:00
bjh21
a42e17ae9a __RCSID -> __KERNEL_RCSID 2002-03-10 15:47:43 +00:00
bjh21
64a051900d Id -> NetBSD in RCSID (oops). 2002-03-10 11:35:32 +00:00
is
728d5e960d fix some swapped parameters 2002-02-19 22:42:25 +00:00
nathanw
20d013dbed Regen. 2002-02-19 16:46:12 +00:00
nathanw
502ca4a24b Add linux_sys_{get,set}rlimit. 2002-02-19 16:44:09 +00:00
nathanw
cbc3e62bf0 Add LINUX_SA_NOCLDWAIT. 2002-02-19 16:35:59 +00:00
rafal
5af2ddd207 Add LINUX_SA_NOCLDWAIT, LINUX_SA_RESTORER, update LINUX_SA_ALLBITS. Linux
compat on mips builds again now.
2002-02-19 14:11:49 +00:00
christos
e52b5e4bfb Resolve alpha compile issues:
- bug with order in args in mask conversion md code.
- flags can be both int and long on the alpha. kludge around that, by not
  passing pointers to the conversion function.
- something is wrong with the toolchain look at the void * cast in copyout().
- sa_restorer is in a different place on the aplha. Deal with that, by not
  initializing it as before. XXX: this should be changed in the MD signal
  definition.
2002-02-18 22:24:17 +00:00
christos
1133f20b4f regen 2002-02-18 20:20:25 +00:00
christos
08739d68be provide linux_sys_getrlimit and linux_sys_setrlimit 2002-02-18 20:12:49 +00:00
christos
6e293e79bd regen 2002-02-18 16:36:20 +00:00
christos
7f739a6187 fix comment. 2002-02-18 16:35:57 +00:00
rafal
0208af27ee Regen: Use linux_sys_{g,s}setrlimit, remove linux_sys_ugetrlimit since
linux/mips doesn't seem to have one.
2002-02-18 00:10:26 +00:00
rafal
9751855fab the MIPS stat64 struct doesn't have a separate ino64 field, but the ino field
is a u_longlong.
2002-02-17 23:57:57 +00:00
rafal
dfcb814799 Use linux_sys_{g,s}etrlimit() since there's a common implementation now; but
MIPS has no sys_ugetrlimit, so don't declare it (209 is UNIMPL in the OSS
Linux-mips tree)
2002-02-17 23:55:23 +00:00
rafal
9f99fdabde Adapt for changes to linux_to_native_sigset() and native_to_linux_sigset(). 2002-02-17 23:18:38 +00:00
bjh21
db030aa93f Add an lst_ino64 member to struct linux_stat64. 2002-02-17 23:18:11 +00:00
bjh21
0fd75dd4e5 Adapt for changes to limux_old_extra_to_native_sigset() and
native_to_linux_old_extra_sigset().
2002-02-17 23:05:08 +00:00
bjh21
9e7faceaf4 Add LINUX_SA_NOCLDWAIT. 2002-02-17 22:45:29 +00:00
bjh21
d0dfca3108 Regen. 2002-02-17 22:30:22 +00:00
bjh21
e5087cd2b4 getrlimit and setrlimit now have Linux-specific implementations. Use them. 2002-02-17 22:29:46 +00:00
bjh21
6c9d7cafe8 linux_sys_break() is marked OBSOL, so don't include it. 2002-02-17 22:03:23 +00:00
bjh21
3113edfb9a linux_sys_rt_sigreturn is currently marked UNIMPL, so leave the stub out. 2002-02-17 22:00:09 +00:00
christos
6e89926d24 regen 2002-02-17 19:35:45 +00:00