summaryrefslogtreecommitdiff
path: root/sys/compat/linux
AgeCommit message (Collapse)Author
2002-02-02cpu_cache_syncI_rng -> cpu_icache_sync_rangebjh21
2002-02-02We shouldn't need an icache sync when catching a signal, so don't bother.bjh21
2002-02-02Get rid of "unused variable" warnings on arm26.bjh21
2002-01-27Regen (breakpoint() implemented).bjh21
2002-01-27Add support for breakpoints to ARMLinux emulation.bjh21
2002-01-27Add support for PTRACE_GETREGS and PTRACE_SETREGS in ARMLinux emulation.bjh21
2002-01-27Regen (prototype for linux_sys_nosys()).bjh21
2002-01-27Make syscall 0 an explicit call of linux_sys_nosys, as it is on i386. Thisbjh21
is necessary to get a prototype for linux_sys_nosys generated in syscallargs.h.
2002-01-23Regen (sys_nosys -> linux_sys_nosys).bjh21
2002-01-23sys_nosys="linux_sys_nosys", since that's how it should be.bjh21
2002-01-23Regen (cacheflush() and remove syscall 0).bjh21
2002-01-23Syscall 0 isn't syscall() on ARMLinux. Mark it UNIMPL instead.bjh21
2002-01-23Add support for the ARM-specific syscalls in ARMLinux. These are invokedbjh21
by SWI numbers above 0x9f0000, but we re-map them down to somewhere just after the end of the usual syscall range, since NetBSD doesn't handle sparse syscall arrays well. The only syscall I've actually implemented in this range is cacheflush(), which was previously being mapped to fork(), causing ... interesting results.
2002-01-17More-or-less working signal handling for Linux processes on ARM.bjh21
2002-01-17Fix typo in last commit.bjh21
2002-01-17Fix unterminated #ifdef.bjh21
2002-01-17On platforms that don't __HAVE_SYSCALL_INTERN, define LINUX_SYSCALL_FUNCTIONbjh21
to be the value of emul_linux.e_syscall that we want. This allows it to differ between machines, so I can have a separate linux_syscall() on arm.
2002-01-17Include arch/arm/linux_errno.h for arm build.rjs
2002-01-17Add arm to #endif comment.rjs
2002-01-17Add extra error codes from Linux.rjs
2002-01-15Regen.bjh21
2002-01-15Shuffle uname calls around. It turns out we don't use the same names asbjh21
Linux does, so: sys_olduname -> linux_sys_oldolduname sys_uname -> linux_sys_olduname sys_newuname -> linux_sys_uname
2002-01-14Generated files for ARMLinux binary compatibility.bjh21
2002-01-14Remove old ARMLinux binary compatibility fragment. As far as I know, thisbjh21
was never used.
2002-01-14Crude first cut at ARMLinux binary compatibility. Successfully runsbjh21
"/emul/linux/bin/echo hello, world", dynamically linked.
2001-12-19Add some missing ioctl()s. From Tommy Bohlin in PR kern/14414.augustss
2001-12-09replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.chs
2001-11-20Removed unused (commented out) codemanu
2001-11-20Fixed the Linux signal trampoline and linux_sys_sigreturn(). Linux signalmanu
delivery now seems fully functionnal.
2001-11-17Make it build again after recent MIPS cache code changesmanu
2001-11-17Fixed typosmanu
2001-11-15don't need <sys/types.h> when including <sys/param.h>lukem
2001-11-13add RCSIDs (including regeneration of files as appropriate)lukem
2001-10-30- Add a new vnode flag VEXECMAP, which indicates that a vnode hasthorpej
executable mappings. Stop overloading VTEXT for this purpose (VTEXT also has another meaning). - Rename vn_marktext() to vn_markexec(), and use it when executable mappings of a vnode are established. - In places where we want to set VTEXT, set it in v_flag directly, rather than making a function call to do this (it no longer makes sense to use a function call, since we no longer overload VTEXT with VEXECMAP's meaning). VEXECMAP suggested by Chuq Silvers.
2001-10-14Fixed some mistakes in signal handling (this is still broken)manu
Added some code to set linux's uname kernel version to 2.4.0 (usefull for testing with glibc-2.2). This is currently guarded by a #if 0.
2001-10-14Fixed a minor problem so that it buildsmanu
2001-10-14Added Mipsmanu
2001-10-06Added socket operations to Linux Mips emulationmanu
2001-10-06Implements ATOMIC_SET in linux_sys_sysmipsmanu
2001-09-30Implements parts of sysmips() and fctnl64() emulationmanu
2001-09-30Fixes my last commit: only mips really need fcntl64 to work now. i386 andmanu
powerpc could use it later if needed. m68k and alpha should never need it.
2001-09-30Make i386 kernels compile again.martin
fcntl64 was still marked UNIMPL, but the implementation existed, causing a missing prototype warning. XXX I have no clue if this is the correct fix - someone able to test this please review it!
2001-09-30Added initial support for fcntl64 system call (file locking is notmanu
implemented)
2001-09-30DEBUG kernels fill the registers with garbage on process startup andsimonb
Linux program don't like that. Explicitly zero out the registers for DEBUG kernels.
2001-09-30Define LINUX_ATEXIT_SIGNATURE to enable the atexit_signature test; neededsimonb
to run Linux/Alpha binaries.
2001-09-22I'm working on Mipsmanu
2001-09-22Enabled Mips Linux emul in header filesmanu
2001-09-22Enable Mips Linux emulation in header filesmanu
2001-09-22Fixes for mips supportmanu
2001-09-22Initial support for running Linux binaries on the Mips. Both static andmanu
dynamic binaries work on 32 bit mips. Signals are completely broken yet, and ptrace is not supported.