summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux
Commit message (Collapse)AuthorAgeFilesLines
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inmarkm2001-05-012-10/+15
| | | | | | | | | | | other "system" header files. Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys/lockmgr.h form kernel .c files. Sort sys/*.h includes where possible in affected files. OK'ed by: bde (with reservations)
* Regen after adding linux_sched_get_priority_max() andgallatin2001-04-033-7/+15
| | | | linux_sched_get_priority_min()
* Add linux_sched_get_priority_max() and linux_sched_get_priority_min() togallatin2001-04-031-2/+2
| | | | alpha md code & unbreak kernel build
* - Call fork1() directly instead of calling rfork() so that it doesn't maskjhb2001-03-111-9/+5
| | | | | | | | out RFSTOPPED. - Lock the child process when settings p_sigparent instead of locking the parent. Pointy-hat to: me
* Create clone'd linux processes as stopped processes at first and don'tjhb2001-03-061-2/+9
| | | | | actually make them runnable until after the emulator layer has had a chance to perform fixups.
* Add MODULE_DEPEND() for the sysvipc modules. This allows the linulatorgallatin2001-03-051-0/+3
| | | | | | to load when sysvipc is not in the kernel Reported by: naddy@mips.inka.de (Christian Weisgerber)
* sync with i386:gallatin2001-03-051-0/+2
| | | | | | | | | MFS: bring the consistent `compat_3_brand' support This should fix the linux-related panics reported by naddy@mips.inka.de (Christian Weisgerber) Forgotten by: obrien
* Regengallatin2001-02-203-13/+13
|
* Sort out the umount breakage introduced in the last 2 revisions.gallatin2001-02-201-4/+4
| | | | | | | | | Please note: When committing changes to this file, it is important to note that linux is not freebsd -- their system call numbers (and sometimes names) are different on different platforms. When in doubt (and you always need to be) check the arch-specific unistd.h and entry.S files in the linux kernel sources to see what the syscall numbers really are.
* Regenerate.jlemon2001-02-203-15/+10
|
* Fix duplicate linux_mount definitionjlemon2001-02-201-4/+4
|
* Allow debugging output to be controlled on a per-syscall granularity.jlemon2001-02-162-35/+53
| | | | | | Also clean up debugging output in a slightly more uniform fashion. The default behavior remains the same (all debugging output is turned on)
* Re-gen auto generated files.jlemon2001-02-163-6/+27
|
* Remove dummy stub functions.jlemon2001-02-161-2/+0
|
* Add mount syscall to linux emulation. Also improve emulation of reboot.jlemon2001-02-162-4/+15
|
* Proc locking.jhb2001-01-242-1/+5
|
* Minor cleanups:marcel2000-12-051-8/+3
| | | | | | o remove unused prototypes, o remove unused extern declarations, o move prototypes up.
* Don't auto-generate the syscalls.marcel2000-12-038-7/+1224
|
* Don't auto-generate syscalls.marcel2000-12-031-1/+1
|
* Don't unregister the ioctl handlers before we verified wemarcel2000-11-231-11/+13
| | | | | | | | | | | can unload. Doing so leaves the linuxulator in a crippled state (no ioctl support) when Linux binaries are run at unload time. While here, consistently spell ELF in capitals and perform some minor style improvements. ELF spelling submitted by: asmodai
* Use the linux_connect() on alpha rather than passing directly throughgallatin2000-11-161-1/+2
| | | | | | | | | | to our native connect(). This is required to deal with the differences in the way linux handles connects on non-blocking sockets. This gets the private beta of the Compaq Linux/alpha JDK working on FreeBSD/alpha Approved by: marcel
* make the fcntl() flags match what the linux/alpha port uses, notgallatin2000-11-161-9/+11
| | | | what linux/i386 uses
* Enable linux thread support on the alpha. The guts of linux_clone wasgallatin2000-11-101-1/+57
| | | | | | | | mainly cut-n-pasted from the i386 port, except for the method of setting the child's stack which is the only MD part of this function. I've tested with the example apps shipped with the linux threads source code (ex1-ex6) and with several binary builds of Mozilla.
* Make MINSIGSTKSZ machine dependent, and have the sigaltstackmarcel2000-11-092-1/+4
| | | | | | | | | | | | | | | | | | | | | | syscall compare against a variable sv_minsigstksz in struct sysentvec as to properly take the size of the machine- and ABI dependent struct sigframe into account. The SVR4 and iBCS2 modules continue to have a minsigstksz of 8192 to preserve behavior. The real values (if different) are not known at this time. Other ABI modules use the real values. The native MINSIGSTKSZ is now defined as follows: Arch MINSIGSTKSZ ---- ----------- alpha 4096 i386 2048 ia64 12288 Reviewed by: mjacob Suggested by: bde
* back out 1.66 -- the Elfxx_Brandinfo compat_3_brand field doesn't existgallatin2000-11-091-2/+0
| | | | in -current
* Fix generated include path.obrien2000-11-041-1/+1
| | | | Approved by: JKH
* Fix the Elf64 branding initialization.obrien2000-11-041-0/+2
|
* Sort.obrien2000-11-021-1/+1
|
* Support for the linux ipc syscalls on the alpha, where each one hasgallatin2000-11-011-11/+19
| | | | | its own syscall rather than going through a demux function like linux_ipc() on i386
* use DUMMY macro and support from linux_util.hgallatin2000-11-011-15/+1
|
* Move the linux abi's alpha md files over to using David's build-timegallatin2000-11-014-4/+4
| | | | syscall generation method
* fix linux_termio and linux_termios structs on alpha. alpha differencesgallatin2000-11-011-1/+1
| | | | | are in the termios struct (probably because linux wants to be compatible with the osf/1 termios struct), not the termio struct.
* Apply style(9).obrien2000-11-011-2/+2
|
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-11-011-29/+3
| | | | (based on a patch to sys/i386/linux/linux_dummy.c by gallatin)
* Need to dummy-out rt_sigreturn.obrien2000-11-011-0/+3
| | | | submitted by: gallatin
* Need to include sys/proc.h.obrien2000-11-011-1/+2
|
* I don't know why this used to compile for me, but now structobrien2000-11-011-2/+2
| | | | linux_sigcontext seems to have changed and some members are gone.
* Make the target a little bit more generic.obrien2000-11-011-1/+3
|
* Apply style(9). [best I could]obrien2000-10-231-35/+40
|
* Apply style(9).obrien2000-10-231-48/+47
| | | | (best I could)
* Sort the #define's.obrien2000-10-231-38/+38
|
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-10-231-1/+1
|
* Re-order the #define's into a more logical one.obrien2000-10-231-17/+18
|
* We need to explicitly tell the args struct for COMPAT functions we useobrien2000-10-231-4/+13
| | | | that use the same args struct as their non-COMPAT counter parts.
* Somehow I left out sycall #98obrien2000-10-221-0/+1
|
* Minor whitespace cleanup.obrien2000-10-221-6/+5
|
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-10-221-234/+408
| | | | Submitted by: gallatin (content, minimization by me)
* A start at an implemention of linux_rt_sendsig & linux_rt_sigreturngallatin2000-10-171-1/+0
| | | | | | | | | | | | | | and associated user-level signal trampoline glue. Without this patch, an SA_SIGINFO style handler can be installed by a linux app, but if the handler accesses its sip argument, it will get a garbage pointer and likely segfault. We currently supply a valid pointer, but its contents are mainly garbage. Filling this in properly is future work. This is the second of 3 commits that will get IBM's JDK 1.3 working with FreeBSD ...
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-09-071-406/+127
| | | | Submitted by: gallatin (content, minimization by me)
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-09-063-499/+217
| | | | Submitted by: gallatin (content, minimization by me)
OpenPOWER on IntegriCloud