Commit Graph

64960 Commits

Author SHA1 Message Date
ragge 8293b12111 Write kvtopte() and kvtophys() as inline assembler. GCC create quite bad
code for them, and they are only 2-3 instructions each if written by hand.
2000-05-27 21:17:06 +00:00
sommerfeld f460c85cb3 Remove existing semaphore system locking mechanism and turn
sys_semconfig into a placebo system call, to avoid giving folks an
easy way to wedge processes which use semaphores.

NOTE: unlike 386bsd and freebsd, processes which did not have
semaphore undo records would not be affected by this problem (reducing
it from a serious local denial-of-service problem to a largely
cosmetic problem, since virtually nobody uses semaphores).  But the
code is just Wrong so we're ripping it out anyway.
2000-05-27 21:00:25 +00:00
matt 22519583f3 Add tadpole specific devices. 2000-05-27 20:56:51 +00:00
oster 26b4598736 Components which match on everything but the mod_counter are
renegades, and must be handled correctly.  In particular, they should
be added to their old auto-config set, but then immediately released.
Failing to do otherwise means that they potentialy end up in a
different (and competing!) RAID set which may auto-configure in place
of the correct one, and cause all sorts of chaos at auto-configure
time.
2000-05-27 20:29:14 +00:00
ragge 6cfde8f146 Remove the pcbtrap global variable, use a per-CPU variable instead. 2000-05-27 20:02:58 +00:00
thorpej 3a4393ff92 While DM9102A boards tend to have ISV-format SROMs (likely to describe
the HomePNA PHY typically connected to the external MII interface),
DM9102 implementations (often found on motherboards) do not.  Handle
this.
2000-05-27 19:42:06 +00:00
oster e9b5b7aa5e Add a comment to clarify why we actually want the component label to
be considered a 'match' even if the mod_counter is wrong.
2000-05-27 19:12:03 +00:00
fvdl 1033142eea Truncate the CHS values correctly in case a partition boundary exceeds
their range.
2000-05-27 19:02:54 +00:00
jdolecek 2d6c6df05e add system(3) for spawning the editor - this is handy when EDITOR is set to
something like 'editor arg1 arg2 ...'
2000-05-27 19:01:13 +00:00
fvdl 902ae34ae6 When converting from relsecs to chs, if the value exceeds the maxmimum
that can be specified with CHS, truncate it to the maximum values that
the BIOS provided, not 1023*255*63. Some BIOSs get awfully cranky when
you do that.
2000-05-27 18:41:36 +00:00
dante 39c7c9aff6 Change AdwInitCarriers in adwmcode.c
Add new AdwInitCarriers prototype in adwmcode.h
All of the supported adapters are now initialized calling a unique common
    function
2000-05-27 18:24:50 +00:00
oster d2b2ed0970 Checking parity re-write status makes no sense on RAID 0, but let's
return something reasonable anyway.
2000-05-27 18:23:27 +00:00
scw 46807640c7 Add support for the OPTi 82c621 PCIIDE controller and its derivatives.
I only have a Compaq laptop on which to test this, so reports of
success/failure in other systems would be welcomed.
2000-05-27 17:18:41 +00:00
scw 1d2a3e79a9 Regen. 2000-05-27 17:12:36 +00:00
scw 713621eb0e Add entries for a couple of OPTi PCI-IDE controllers. 2000-05-27 17:11:37 +00:00
matt 7e083f3d75 Add some code to test libraries to make sure they are a.out before adding
them to hints.
2000-05-27 17:06:34 +00:00
jhawk 3ac3c9b124 Oops, omitted the rename from last.
Function in this file is db_stack_trace_print(),
not db_stack_trace_cmd().
2000-05-27 16:44:41 +00:00
ragge 98d0ab9e1c Use machine instead of vax in include path. 2000-05-27 16:44:14 +00:00
nathanw 00369993f9 Whitespace police. 2000-05-27 16:38:02 +00:00
ragge 99baa81ae7 Rewrite cpu_fork(), it now looks like and works as other ports' cpu_fork()
(calling child_return() etc...). Have fun, Jason!
2000-05-27 16:33:04 +00:00
jdolecek baea72f7e1 Add new mount option nomaplcase (name taken from Solaris) - if set, file
names read from non-Rock Ridge cdroms won't be translated to lower case.
This is functionally similar to -g flag, but the version numbers on files
are still stripped.
2000-05-27 16:32:08 +00:00
bouyer e42c2ac5fb Ops, state should be RESET, not RECAL here. 2000-05-27 16:11:16 +00:00
jdolecek 943f329ed7 add a new mount flag ISOFSMNT_NOCASETRANS - if set, the file names are not
translated to lower case
2000-05-27 16:03:55 +00:00
simonb 66f45159dc Handle kern.proc_args as well. 2000-05-27 15:30:12 +00:00
simonb 4f6ebe8e2a The name of the KERN_PROC_ARGS sysctl is proc_args, not proc_argv. 2000-05-27 15:28:58 +00:00
simonb 8bbe78e806 s/fprintf(stdout/printf(/ 2000-05-27 15:11:05 +00:00
simonb 732db039ce Deal with new structure returning sysctl()s. 2000-05-27 15:05:14 +00:00
sommerfeld 080fdae8fc Bring into line with recent ktrace changes 2000-05-27 15:02:04 +00:00
scw 8e7a493bbc Protect against multiple inclusion. 2000-05-27 14:45:36 +00:00
scw 48c1f20cf8 s/schedcpu_percpu/schedstate_percpu/ 2000-05-27 14:25:00 +00:00
sommerfeld 0ee7e28d72 Add include of <sys/time.h> for now.. 2000-05-27 13:51:38 +00:00
kleink 0bc407a568 Spelling nit. 2000-05-27 12:22:24 +00:00
mason 972014e5a8 Make compile after scheduler state cleanup. 2000-05-27 11:44:54 +00:00
soren ed0572ca92 Regen. 2000-05-27 11:40:04 +00:00
soren eaef48d317 Add a few devices. 2000-05-27 11:38:31 +00:00
kleink 12164ce45f Formatting fixes. 2000-05-27 10:42:25 +00:00
jdolecek c5d51d433e fix prototype for fd_mod_free() - should fix port-mac68k/10063 2000-05-27 10:25:15 +00:00
ragge aacf5a4bc1 Growel out the SCSI BUS ID from NVRAM instead of hard-code it. 2000-05-27 10:12:45 +00:00
matt 03e56c691e Changes to put the COMPAT_AOUT code into ld.aout_so. Search <dir> for <lib>
then search /emul/aout/<dir> for <lib>.  To make sure we don't get false
postives on ELF libraries we make the .so is a ZMAGIC dynamic library.
2000-05-27 06:53:29 +00:00
thorpej 267fbe6213 sleep() -> tsleep() 2000-05-27 06:51:30 +00:00
thorpej 5410ee3607 Update a couple of comments for reality. 2000-05-27 06:29:35 +00:00
matt a328adc371 Add _PATH_EMUL_AOUT. 2000-05-27 06:08:28 +00:00
thorpej 6d02ce1e66 All users of the old sleep() are now gone; nuke it. 2000-05-27 05:00:47 +00:00
thorpej 21fc65e1a8 sleep() -> tsleep() 2000-05-27 04:52:27 +00:00
thorpej d0a8b751b2 Don't use sleep() and a callout; just use tsleep(). 2000-05-27 04:46:24 +00:00
thorpej b3b7588160 Don't use sleep() and callouts; just use tsleep(). 2000-05-27 04:42:14 +00:00
matt dd266dbb2f Fix counting of output packets. Only count descriptors with TDES_LS set.
Also make transmit timeout logic more correct.
2000-05-27 04:26:32 +00:00
soren 4a6fea14b4 Correct ones, even. 2000-05-27 03:53:11 +00:00
soren c77afc79a4 Forgot to define sd and cd majors. 2000-05-27 03:52:26 +00:00
simonb abae45a32c Set *sizep correctly if returning the number of elements. Pointed out
by Anders Magnusson.

Honor elem_count in the KERN_PROC2 case, as well as overall buffer
space.  The only user-land code to use this set the elem_count to
"buffer_space / elem_size", so we've had no incorrect behaviour to date.
2000-05-27 03:24:50 +00:00