Commit Graph

1534 Commits

Author SHA1 Message Date
Joerg Wunsch
c851c2f0ea Include three lines about the pcvt console driver, so we don't ever need
a different config file for it.
1995-02-15 20:38:36 +00:00
Bruce Evans
ae5e131ac8 Avoid duplicating ttselect() so that we don't have to change cyselect()
when ttselect() is improved.  This requires using an array of tty structs
and not using ttymalloc().

Fix an off by 1 error.  Some caclulations seem to be off by a factor
of NCY.  NCY defaults to 16, which gives 256 tty structs occupying
0xd000 bytes.  The minor number encoding only allows 16 ttys.

Update the types of timeout functions to 2.0.
1995-02-15 18:41:41 +00:00
David Greenman
919364ea6a Use proc0's proc struct rather than curproc's when calling sync. 1995-02-15 12:27:01 +00:00
Jordan K. Hubbard
8c324d5fb8 Whap a few things not used in the Cyclades driver, at least not for now. 1995-02-15 12:01:24 +00:00
Jordan K. Hubbard
a043a8428a Quiet the last of the warnings. Must have had my eyes closed when
I committed this! ;-(
1995-02-15 08:19:31 +00:00
Jordan K. Hubbard
f2eea8100f We can enable pcd0 when we actually have one. 1995-02-15 06:18:15 +00:00
Jordan K. Hubbard
e7891cd349 Boy, no sooner do I clean it up then dirty it again! Clean up the enxio
stuff I should have caught earlier.
1995-02-15 04:51:10 +00:00
Jordan K. Hubbard
a46a6df7e5 Comment out snic0 until it gets updated to the newer scsi code. 1995-02-15 04:49:18 +00:00
Poul-Henning Kamp
b8e4cd2bb3 This is a MS-DOS program, but is does something useful for us:
It boots FreeBSD from a running MS-DOS system.

It's compiled using some MS-DOS tools, but there is a binary
hidden in the uuencoded file.  (Go ahead, flame me if you can come up
with a solution for the problem.  Just saying "this is bad" doesn't count!)

Rod, you were right: one would have to deal with weird interfaces to the
memory managers, and it seems that Christian found them all, and made them
work.

Thanks Christian!

Reviewed by:	phk
Submitted by:	DI. Christian Gusenbauer <cg@fimp01.fim.uni-linz.ac.at>

Christians README:
------------------

Hi Everybody!

This is version 1.5 of "fbsdboot", a program that allows you to boot a kernel
from a MS-DOS partition or a FreeBSD partition. This program runs using DOS.
It works with various memory managers (like  EMM386, 386MAX) under certain
circumstances.

First, a FreeBSD kernel is always loaded to memory starting at 0x100000. To
assure that loading the kernel *does not* overwrite memory used by memory
managers, high memory for the kernel is allocated and after loading the kernel
it's moved to 0x100000.

Second, there are many ways to switch to protected mode which is necessary to
start the kernel. Each BIOS gives you the possibility to use INT15H (AH=89H)
to do that. But some memory-managers like 386max does not allow you to use
this method.

An other way to do the switch is to use DPMI services, but they do not
guarantee, that the protected mode application is executed with privilege
level 0. Therefore this method is *not* used.

VCPI services offer another way to switch to protected mode, and VCPI servers
are built into "emm386.exe", "386max" and "qemm". That's why, this method is
implemented in fbsdboot.exe.

Fbsdboot.exe tries to switch to protected mode using VCPI services. If they're
not available INT15H is used to do the switch. If that fails, it's not possible
for this version of fbsdboot.exe to boot a kernel :-(.

You can get commandline options of fbsdboot if you start it with "-?" as option!

I don't know, if fbsdboot works with QEMM, as I don't have the possibility to
test it.

Enjoy and have fun!

Christian.
cg@fimp01.fim.uni-linz.ac.at


PS: Many thanks to Bruce Evans for his assistance!
1995-02-15 04:45:50 +00:00
David Greenman
7389231d06 Killed the pmap_use_pt and pmap_unuse_pt prototypes as they are now in
machine/pmap.h.
1995-02-15 04:36:31 +00:00
Rich Murphey
73b2840c90 Reviewed by: Jordan
Submitted by:	Rich

Make conditionals on BIOSWAIT consistent with usage in io.c.

If you had 'BOOTWAIT=0' in your /etc/make.conf then biosboot wouldn't
compile.  It was '#if' in io.c and '#ifdef' in probe_keyboard.c so I
changed the latter to '#if'.

Even if BOOTWAIT is undefined then '#if BOOTWAIT' becomes
'#if 0' so it should compile either way with this change.
1995-02-15 04:17:59 +00:00
Jordan K. Hubbard
6f96f72b16 Add ISDN entries to LINT. 1995-02-15 00:53:15 +00:00
Jordan K. Hubbard
804b5d8f47 Bring in the ISDN driver entries. 1995-02-14 22:36:49 +00:00
Jordan K. Hubbard
53c1e53822 Add the ISDN entries 1995-02-14 22:34:41 +00:00
Ugen J.S. Antsilevich
71ac9ea4e9 cdevsw[] entry for snoop device.
I took 53 and it was too late when Jordan sayd
it better been 60..besides i have no clue how to make it 60..
Jordan- pleeease don't kill me..(This is also useful(??) device..)
1995-02-14 21:16:43 +00:00
Ugen J.S. Antsilevich
4cba45558a pseudo-device snp 3
Example entry for snoop.
1995-02-14 21:15:12 +00:00
Søren Schmidt
1e1e0b4463 First attempt to run linux binaries. This is only the changes needed to
the generic kernel. The actual emulator is a separate LKM. (not finished
yet, sorry).
Submitted by:	sos@freebsd.org & sef@kithrup.com
1995-02-14 19:23:22 +00:00
Poul-Henning Kamp
ae4c9a0208 Removed a YF comment. 1995-02-14 18:01:24 +00:00
Søren Schmidt
314908fae3 Fixed cursor xor problem... 1995-02-14 14:37:53 +00:00
Poul-Henning Kamp
f0dbdbbf11 Jordan forgot to move the scd in this file. 1995-02-14 07:19:10 +00:00
Poul-Henning Kamp
86ca01bcee Whoops! back out last commit partly. 1995-02-14 06:57:45 +00:00
Poul-Henning Kamp
b53d84607c YFfix. 1995-02-14 06:55:42 +00:00
Poul-Henning Kamp
f026fea644 susword -> systm.h 1995-02-14 06:51:31 +00:00
Poul-Henning Kamp
a3dbba7a60 Yves has sent us a ~600 Kb patch, which shuts up gcc entirely for the
entire kernel.
Unfortunately we didn't send him a copy of the style guide before he did it.
I'm trying to find all the benign and downright sound bits and will commit
them without any other explanation than "YF fix" if they are merely cosmetic.

Reviewed by:	phk
Submitted by:	yves@dutncp8.tn.tudelft.nl (Yves Fonk)
1995-02-14 06:00:17 +00:00
Jordan K. Hubbard
9e5c18f7b1 The following patches are for the sound drivers. These changes will
add a an ioctl call to set the transfer block size (SNDCTL_DSP_SETBLKSIZE)
and add the select system call to the drivers.  They also fix a problem with
the #EXCLUDE macros for the PAS-16 card.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-13 22:49:06 +00:00
Jordan K. Hubbard
9da6a15aa4 Pick a more sensible default for # of ptys, add comment that this can
go as high as 64 now.
1995-02-12 09:29:59 +00:00
David Greenman
17703e4e91 Carefully choose the low limit for number of buffers to acheive the best
performance on small memory machines.
1995-02-12 09:21:04 +00:00
David Greenman
06031f1f3f Fixed a bogus comment and made a stylistic change (testl instead of orl
to test for zero).
1995-02-12 09:13:27 +00:00
Jordan K. Hubbard
bcbd38050e Rename the local variable used by various macros outside the user's
namespace.
Reported-By: "Philippe Charnier" <charnier@lirmm.fr>
1995-02-12 08:31:31 +00:00
Jordan K. Hubbard
25719d742a Remove the evil I perpetrated on this file in the name of the Cyclades driver,
now we're back to the old way.  By way of amends, I cleaned up all the
casting evils and generally neated this file up as much as possible.  It
still, however, needs to die.
1995-02-11 05:54:04 +00:00
Jordan K. Hubbard
6469abd9ba Remove dead sound blaster driver entry. 1995-02-11 05:43:44 +00:00
Poul-Henning Kamp
499454c6e9 Intels App Note AP-485 applied.
We will now tell a good deal more about the CPU if Intel made it.

What is a i486DX2 Write-Back Enhanced CPU ?
1995-02-11 04:21:24 +00:00
David Greenman
459a929e36 Changed extended memory test so that it's non-destructive and not a
complete test (it never was "complete", which is why it was bogus). Now
only a single longword is checked in each page.
1995-02-10 07:44:03 +00:00
David Greenman
3c632e1f0c Removed obsolete and unused vmtime() function. 1995-02-10 07:17:46 +00:00
David Greenman
b1e4a738e0 Removed unnecessary check for pr_scale in the AST/OWEUPC case. 1995-02-10 06:43:47 +00:00
David Greenman
5a32829d98 Check P_PROFIL flag for profiling rather than pr_scale as it makes more
sense.
1995-02-10 06:25:14 +00:00
Atsushi Murai
b60d4a5d98 Delete a redundant line - "options TUN" and Add explanation for
"pseudo-device tun" as same as other device.
1995-02-10 05:42:24 +00:00
Stefan Eßer
6f22585dd4 Initialisation of interrupt masks changed.
Reviewed by:	se
Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-09 20:16:19 +00:00
Jordan K. Hubbard
4a48e9b15a The whole NEW_CONF_C_SYNTAX was bogus; David's right, it can't be
optional at all.  Make it non-optional.
Submitted by:	davidg
1995-02-09 11:59:40 +00:00
Jordan K. Hubbard
11af896263 Add PPP to the generic kernel. Now that Poul has made us all this space,
maybe I can get us back into the slip/ppp game without having to tell users
to reconfigure their kernels all the time! :)
1995-02-09 11:21:07 +00:00
Jordan K. Hubbard
89c1e72662 Some scary macros from Heikki Suonsivu <hsu@cs.hut.fi>. Actually, they
make cdev entries look almost readable.  If his stuff works for most of
the entries in here, it might be worth it to refit them all.
1995-02-09 11:13:09 +00:00
Jordan K. Hubbard
cfc9f6212d Add the Cyclades serial driver code (ALPHA) from Andrew Werple and
adapted to FreeBSD by Heikki Suonsivu <hsu@cs.hut.fi>.
Submitted by:	Andrew Werple <andrew@werple.apana.org.au> and
		Heikki Suonsivu <hsu@cs.hut.fi>
Obtained from:	NetBSD
1995-02-09 09:47:31 +00:00
Bruce Evans
2c3a858e68 Rewrite the netisr dispatcher.
Rename `_dummynetisr' to `dummynetisr' so that it doesn't show up in
profiling (with gprof -u).

Clean up.
1995-02-08 21:46:44 +00:00
Søren Schmidt
719d3245ae Fixed the bug that caused the cursor to disappear under
boot with -c option
1995-02-07 11:53:27 +00:00
Jordan K. Hubbard
f741ad121b The very minimum driver required to support a Video Spigot. See the
copyright notices in the code for information on where to go to pick
up additional useful bits.
Submitted by:   Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-06 23:20:17 +00:00
Jordan K. Hubbard
2cd01159da The very minimum driver required to support a Video Spigot. See the
copyright notices in the code for information on where to go to pick
up additional useful bits.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-06 23:19:49 +00:00
Jordan K. Hubbard
5297690cfe Commit my userconfig stuff:
1. add iosize command, and show it in `ls'
2. add a probe command
3. add an attach command

[the latter 2 do the obvious thing - call the device's routine and print the
 status returned].
1995-02-06 02:48:38 +00:00
Søren Schmidt
768483b761 Fixed the annoing bug that caused writes to /dev/console to go to
the active virtual terminal (Boy, do I have little hair left).
Misc other fixes, try to enable cursor earlier in the game.
1995-02-05 23:44:25 +00:00
Jordan K. Hubbard
a1fed99776 This was wrong - PCVT and syscons don't share the same entrypoint
names.
Submitted by:	mh
1995-02-05 11:29:38 +00:00
Jordan K. Hubbard
37be911712 Add pcvt's header files.
Submitted by:	hm
1995-02-05 11:02:45 +00:00