Commit Graph

105023 Commits

Author SHA1 Message Date
itohy
161076c9dc Add mmem* and mlcd*.
Fix some disk assumed 8 partitions (actually 16).
2002-11-15 14:45:40 +00:00
christos
d10066b927 de-lint 2002-11-15 14:33:53 +00:00
christos
39f224af48 PR/18995: David Laight: libedit fixes for posix conformant sh
The posix 'sh' specification defines vi-mode editing quite tightly.
The netbsd libedit code (used by sh to do this) was missing several
features, there were also minor errors in others.

Compare netbsd sh to the definition available from:
http://www.opengroup.org/onlinepubs/007904975/utilities/sh.html
In particular the following were not supported:
	U - undo all changes to line
	| - goto column
	Y - yank to end of line
	y - yank
	# - comment out current line
	@ - take input from shell alias [1]
	G - goto numbered line in history buffer
	v - edit history line with vi
	_ - append word from last input line
	. - redo last command
Other minor changes have also been made.

[1] This needs the shell to define an appropriate routine to
return the text of the alias.  There is no requirement that
such a function exist.
2002-11-15 14:32:32 +00:00
itohy
563bcf3cdb Add mmem (Maple Bus storage device) and mlcd (Maple Bus monochrome LCD). 2002-11-15 14:15:36 +00:00
itohy
51cd3ce6c9 Maple Bus monochrome LCD device driver
Reference: US Patent 6,338,105
2002-11-15 14:10:51 +00:00
itohy
2c105f37e1 Maple Bus storage device driver
Reference: US Patent 6,338,105
2002-11-15 14:10:12 +00:00
yamt
bbbe3e07d7 genfs_compat_gop_write: set uio_iovcnt correctly. 2002-11-15 14:01:57 +00:00
ad
122b0bd68f Cosmetic changes. 2002-11-15 13:51:29 +00:00
ad
c69a4b471a Regen. 2002-11-15 13:49:28 +00:00
ad
0c39c2396f Remove dup product. 2002-11-15 13:41:27 +00:00
itohy
154b121f4b New Maple Bus driver
- interrupt driven
 - support hot swapping
 - sub-drivers can send commands
2002-11-15 13:30:21 +00:00
itohy
7710d527c5 Allow multiple event handlers to be installed to an IRL.
The IRL is specified as IPL (2nd arg of sysasic_intr_establish()).
Current mapping:
	IRL9	IPL_BIO
	IRL11	IPL_NET
	IRL13	IPL_TTY
2002-11-15 13:29:26 +00:00
wdk
5c25ee8090 No longer required - now using standard kern.ldscript from sys/arch/mips 2002-11-15 10:16:41 +00:00
wdk
76c4299861 Be toolchain friendly and use nbmips-elf2ecoff 2002-11-15 10:12:40 +00:00
enami
b37113ebab Fix indent in sample code. 2002-11-15 04:38:55 +00:00
oster
ad8fd01bdf After a rebuild-in-place, a reconstruct, or a copyback, we should
really be updating the component labels.
2002-11-15 03:57:48 +00:00
enami
eb0cfdb469 Cosmetic changes. 2002-11-15 03:30:26 +00:00
oster
35f6622aa7 These printf's have outlived their usefulness. *poof* 2002-11-15 03:00:12 +00:00
grant
daa208f50f (belatedly) add myself. 2002-11-15 02:29:44 +00:00
simonb
5bdb1a36ce Add a hack to mipsNN_pdcache_wbinv_range_index_32_4way() so that we
use the index ops at a offset of the page size as well, controlled by
an MIPS64_SB1 check.  The SB1 D-cache way size is physically indexed
and twice as big as the page size (4k), so we weren't flushing all the
addresses we needed too.

XXX: This is kinda gross; will be cleaned up and made more generic soon.
There are still other SB1-specific issues to be cleaned up too...
2002-11-15 01:23:17 +00:00
simonb
181d7f08c9 Use COP0_HAZARD_FPUENABLE instead of a hard-coded 4 NOPs when enabling
the FPU.
2002-11-15 01:16:18 +00:00
simonb
2aabe4d4e2 Define COP0_HAZARD_FPUENABLE as four nops.
Include <mips/sb1regs.h> if MIPS64_SB1 is defined.
2002-11-15 01:15:11 +00:00
simonb
383afcb5b6 Declare some CP0 hazards for the SB1 core. 2002-11-15 01:09:20 +00:00
simonb
a3458d769a Add "options MIPS64_SB1". 2002-11-15 01:03:53 +00:00
simonb
28a1083dd2 Put the MIPS64_SB1 option in opt_cputype.h. 2002-11-15 01:02:49 +00:00
simonb
3d416825dc White space nits. 2002-11-15 00:58:32 +00:00
atatat
ee27492d90 Remove t4dw at pci, since we don't have any description or code for a
device with that name.  Addresses PR port-i386/19040.
2002-11-14 22:37:18 +00:00
manu
ffc06908b6 Regen 2002-11-14 21:48:23 +00:00
manu
897d942130 Use FreeBSD emulation to get pathname lookups in /emul/darwin. These FreeBSD
emulated system call just check in /emul and call the native system call.
2002-11-14 21:47:15 +00:00
christos
09495207e1 darwin needs us. 2002-11-14 21:38:51 +00:00
christos
b165b2e229 improve on debugging. 2002-11-14 21:17:30 +00:00
nathanw
24b586b3b1 Add a couple of regression tests for dlerror() handling. 2002-11-14 21:10:45 +00:00
nathanw
15f633fbd3 In _rtld_load_library(), ensure that the old _rtld_error state (a message from
a previous error, or NULL) is preserved if the search eventually succeeds.

Addresses the problem pointed out in PR pkg/19024.
2002-11-14 21:07:46 +00:00
ragge
adca0d86b2 Fix for a problem where an user can crash the machine via sigreturn(),
noticed by and fix from Miod Vallat <miod@openbsd.org>.

Miod's OpenBSD log message:
> Don't uvm_useracc the user sigcontext in sys_sigreturn and then access
> the user addresses directly from the kernel. copyin is faster and can
> correctly deal properly with mappings that uvm_useracc thinks are
> correct but will fault anyway (to figure out how to generate such
> mappings is left as en excercise for the reader).
>
> Blatantly stolen from art@'s similar fix to sparc.
2002-11-14 20:30:40 +00:00
nathanw
6c24ccfd1f Remove "extern const chat *_rtld_error_message;". There is no such
variable, and never has been.
2002-11-14 20:11:48 +00:00
christos
a5e84b23a8 retrieve host basic info. 2002-11-14 19:45:25 +00:00
christos
1a546a91c0 get the cpu basic info. 2002-11-14 19:44:36 +00:00
christos
f9ddf42b17 the host basic info belongs with the cpu.
attempt to make the semaphore traps work, by doing nothing.
2002-11-14 19:44:06 +00:00
atatat
42c2fe641b Implement backwards extension of amaps. There are three cases to deal
with:

Case #1 -- adjust offset: The slot offset in the aref can be
decremented to cover the required size addition.

Case #2 -- move pages and adjust offset: The slot offset is not large
enough, but the amap contains enough inactive space *after* the mapped
pages to make up the difference, so active slots are slid to the "end"
of the amap, and the slot offset is, again, adjusted to cover the
required size addition.  This optimizes for hitting case #1 again on
the next small extension.

Case #3 -- reallocate, move pages, and adjust offset: There is not
enough inactive space in the amap, so the arrays are reallocated, and
the active pages are copied again to the "end" of the amap, and the
slot offset is adjusted to cover the required size.  This also
optimizes for hitting case #1 on the next backwards extension.

This provides the missing piece in the "forward extension of
vm_map_entries" logic, so the merge failure counters have been
removed.

Not many applications will make any use of this at this time (except
for jvms and perhaps gcc3), but a "top-down" memory allocator will use
it extensively.
2002-11-14 17:58:48 +00:00
oster
56f6918fef rf_markalldirty() needs to update the mod_counter for used_spares too!
This bug appears as "incorrect Mod Counters" in 'raidctl -s'.  The
reason it was seen only in 'raidctl -s' is because of the conditions
needed to trigger the bug:
  a) a raid set is configured
  b) no partitions on that set are mounted or are otherwise in-use
  c) a component is failed, and subsequently rebuilt to a hot spare
  d) the machine is rebooted while something (e.g. 'raidctl -s') has
the device open (and, therefore, rf_markalldirty() has been called)
but before the final rf_update_component_labels() is done.

Needless to say, the window for this happening is *very* small, and it
was only because I was testing some obscure stuff that I even noticed it.
2002-11-14 17:11:54 +00:00
tsutsui
2388751cea Sync with copyright verbiage update of OpenBSD's iha(4). 2002-11-14 17:07:42 +00:00
tsutsui
4d00e59ba6 Correct copyright notice since this code was mostly taken from
if_ne_isapnp.c, not if_fmv.c.
2002-11-14 16:49:55 +00:00
minoura
78bfc702a8 Add support for National Semiconductor Geode(TM) familly of processors.
Thanks to Hiroshi Miura <miura AT da-cha DOT org> for testing.
2002-11-14 12:52:28 +00:00
agc
ab7e447f08 Bump version number after adding "alpha" and "beta" version modifier
recognition.
2002-11-14 11:57:15 +00:00
dsainty
ad9ef28cf5 Regen. 2002-11-14 11:33:48 +00:00
dsainty
c4701e3705 Add Palm m550 (Tungsten) 2002-11-14 11:30:26 +00:00
agc
03ce8889fa In addition to the existing "rc" modifier for a package version, add
support for "alpha" and "beta" versions, which sort before "rc".  Move
to table-based modifier recognition.
2002-11-14 09:40:23 +00:00
salo
15f69dcd3c Add myself. 2002-11-14 09:05:16 +00:00
gson
1fd621f7df eap.c 1.54 changed ES1371 specific code but failed to make the
corresponding cases to the ES1370 case, causing a panic when
attaching an ES1370.
2002-11-14 04:43:23 +00:00
wrstuden
80e7381d17 Make O_NOCTTY have the same number of leading zeros as all the other
macros in this file. Makes figuring out what bits are in use easier.
2002-11-14 04:03:35 +00:00