summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32/ia32_genassym.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for executing the FreeBSD 1/i386 a.out binaries on amd64.kib2011-04-011-0/+3
| | | | | | | | | | | | | | | In particular: - implement compat shims for old stat(2) variants and ogetdirentries(2); - implement delivery of signals with ancient stack frame layout and corresponding sigreturn(2); - implement old getpagesize(2); - provide a user-mode trampoline and LDT call gate for lcall $7,$0; - port a.out image activator and connect it to the build as a module on amd64. The changes are hidden under COMPAT_43. MFC after: 1 month
* Move some declaration of 32-bit signal structures into filedavidxu2006-10-051-0/+1
| | | | freebsd32-signal.h, implement sigtimedwait and sigwaitinfo system calls.
* DOH!!! Fix signals for freebsd-4.x/i386 binaries. The ucontext haspeter2004-02-211-1/+1
| | | | different alignments due to the sse fxsave dump area.
* Initial sweep at dividing up the generic 32bit-on-64bit kernel supportpeter2003-08-221-1/+1
| | | | | | from the ia32 specific stuff. Some of this still needs to move to the MI freebsd32 area, and some needs to move to the MD area. This is still work-in-progress.
* Use __FBSDID().obrien2003-07-251-1/+2
| | | | Brought to you by: a boring talk at Ottawa Linux Symposium
* Add BASIC i386 binary support for the amd64 kernel. This is largelypeter2003-05-141-0/+24
stolen from the ia64/ia32 code (indeed there was a repocopy), but I've redone the MD parts and added and fixed a few essential syscalls. It is sufficient to run i386 binaries like /bin/ls, /usr/bin/id (dynamic) and p4. The ia64 code has not implemented signal delivery, so I had to do that. Before you say it, yes, this does need to go in a common place. But we're in a freeze at the moment and I didn't want to risk breaking ia64. I will sort this out after the freeze so that the common code is in a common place. On the AMD64 side, this required adding segment selector context switch support and some other support infrastructure. The %fs/%gs etc code is hairy because loading %gs will clobber the kernel's current MSR_GSBASE setting. The segment selectors are not used by the kernel, so they're only changed at context switch time or when changing modes. This still needs to be optimized. Approved by: re (amd64/* blanket)
OpenPOWER on IntegriCloud