Commit Graph

20 Commits

Author SHA1 Message Date
Steven Wallace 3e174373d3 This commit was generated by cvs2svn to compensate for changes in r11394,
which included commits to RCS files with non-trunk default branches.
1995-10-10 07:27:24 +00:00
Steven Wallace 234cc877a2 Import of original NetBSD's ibcs2 emulator sources by Scott Bartram,
which is used as a basis for a more complete and cleaner ibcs2 emulator.
(snapshot about May 1995 with a few files from September 1995)

Some files and code from old emulator still remains.
New files, features, and changes have been implemented by myself,
which will be shown in following commits.
1995-10-10 07:27:24 +00:00
Sean Eric Fagan e6df7bbb57 Unlock the vnode after checking permissions; this is necessary to prevent
a panic whenever an iBCS2 file is exec'd.

Obtained from: FreeBSD
1995-09-13 02:12:51 +00:00
Julian Elischer 2b14f991e6 Reviewed by: julian with quick glances by bruce and others
Submitted by:	terry (terry lambert)
This is  a composite of 3 patch sets submitted by terry.
they are:
New low-level init code that supports loadbal modules better
some cleanups in the namei code to help terry in 16-bit character support
some changes to the mount-root code to make it a little more
modular..

NOTE: mounting root off cdrom or NFS MIGHT be broken as I haven't been able
to test those cases..

certainly mounting root of disk still works just fine..
mfs should work but is untested. (tomorrows task)

The low level init stuff includes a total rewrite of init_main.c
to make it possible for new modules to have an init phase by simply
adding an entry to a TEXT_SET (or is it DATA_SET) list. thus a new module can
be added to the kernel without editing any other files other than the
'files' file.
1995-08-28 09:19:25 +00:00
David Greenman c0e5de7d88 Moved setting of VTEXT flag into the appropriate image activators. This
fixes a bug where linux binaries would get the flag set inappropriately.
1995-08-24 10:32:37 +00:00
Rodney W. Grimes 9b2e535452 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
Andrey A. Chernov e2c89acf82 Fix CHOWN_RESTRICTED and NO_TRUNC to return correct values per POSIX 1995-05-02 17:14:38 +00:00
Andrey A. Chernov c5e15878bd Back out incorrect jkh's fix and apply correct one
(POSIX_SAVED_IDS,POSIX_JOB_CONTROL)
1995-05-02 13:14:59 +00:00
Jordan K. Hubbard 72574b4219 The handling of _SC_SAVED_IDS was wrong; _POSIX_SAVED_IDS has no value
to assign this way!
1995-05-02 12:32:30 +00:00
Andrey A. Chernov 2fae339c22 Fix handling of POSIX_JOB_CONTROL and POSIX_SAVED_IDS,
pointed out by Bruce.
1995-04-30 11:30:12 +00:00
Joerg Wunsch fa74aea62d Some long-waiting fixes for the COFF module. They silence compiler
warnings and are cosmetic only.  Poul once requested them, but neither
Sean nor Søren commented on them, so i commit it now before it's
getting lost some day.
1995-04-08 15:52:30 +00:00
Nate Williams 19b72402c7 emoved redundant definition of imcs2_close() since it already exists in
ibcs2_file.c

Reviewed by:	Sean and S'oren
1995-03-03 15:44:44 +00:00
David Greenman 91ee94544a Use of vm_allocate and vm_deallocate has been deprecated. 1995-02-20 23:52:39 +00:00
Bruce Evans 125bd0c85c Don't depend on namespace pollution in <machine/limits.h> for the
definition of CLK_TCK.  Use _BSD_CLK_TCK_ instead of CLK_TCK so that
we don't have to include the user header <time.h>.
1995-02-03 21:31:35 +00:00
Søren Schmidt 45d04cf11f Fix bug around VOP_READDIR, now takes 6 parameters not 4.
The MAXBSIZE has changed, so use DEFAULT_PAGE_SIZE instead.
1994-12-14 22:03:48 +00:00
Søren Schmidt 6897ce2e56 First shot README file for iBCS support
Reviewed by:	sef@kithrup.com
1994-10-23 19:20:57 +00:00
Søren Schmidt a2c74e0ab5 Fixed some video returns. 1994-10-23 19:19:42 +00:00
Søren Schmidt e33700d2b0 Got a little closer with socksys emulation. 1994-10-17 22:13:10 +00:00
Søren Schmidt 69b770e238 iBCS2 emulator core files.
This is the main files for the iBCS2 emulator. It can be use
compiled into the kernel by using:

options		IBCS2
options 	COMPAT_IBCS2

or as a lkm module using:

options		COMPAT_IBCS2

and then loading it via the ibcs2 script in /usr/bin

REMEMBER: this code is still experimental ! NO WARRENTY !

Submitted by:	sef@kithrup.com, mostyn@mrl.com, sos@kmd-ac.dk
1994-10-14 08:53:16 +00:00
Søren Schmidt 6e542db138 Main iBCS2 include file. First part of iBCS2 emulator. 1994-10-13 21:08:11 +00:00