159110 Commits

Author SHA1 Message Date
uwe
aff9e2d286 Make lwp_trampoline comment explain how things are set up in more details.
While here, fix gimplish in the inline comment too (hi, phone!)
2007-05-19 23:08:48 +00:00
mrg
68843a6372 fix a compile error #ifdef MULTIPROCESSOR. does not boot yet... 2007-05-19 23:04:48 +00:00
mrg
8d92d0d7d8 fix the two problems i introduced with yamt-idlelwp:
- in lwp_trampoline, oldlwp is already in %o0.  don't save or the wrongly
  saved copy from cpu_lwp_fork().  as repeatedly pointed out my uwe.

- in cpu_idle use retl not ret.  as pointed out by martin.


thanks to uwe/martin/tnn for all the real debugging work.
2007-05-19 22:57:47 +00:00
christos
eeefe01872 this experimental interface is not in use anymore. 2007-05-19 22:14:18 +00:00
christos
38efedca16 catch up with argument shuffle. 2007-05-19 22:13:57 +00:00
christos
09a50be501 - remove pathname_ interface.
- use macros to deal with pathnames in userspace, when veriexec is used.
- reorder the veriexec_ call arguments for consistency.
With help from elad@ finding the last bug.
2007-05-19 22:11:22 +00:00
martin
745a13751c page_idle_zero is now checked in MI code 2007-05-19 22:10:39 +00:00
mhitch
881ae5b63c Spelling error, I should be old enough to know better. 2007-05-19 21:00:22 +00:00
christos
99535082df More makefile fixes 2007-05-19 20:52:03 +00:00
fvdl
cbfa99c95a cpu_switchto: PCB_CR0(%r14) is a 32bit value, so don't use movq to retrieve it.
Using movq would copy pcb_flags along as well, which would cause traps
because bad bits would be written into %cr0 a few instructions later.
This wouldn't happen for native NetBSD processes (no pcb_flags set), but
it would happen for Linux processes.
2007-05-19 20:20:47 +00:00
pavel
8deade14c9 Add cardbus support. It has been reported that on some laptops
(Asus W5A, HP nx6310) the kernel panics without it.
2007-05-19 18:49:38 +00:00
heas
6967b3455a Changes for PFIX 2.4.1 2007-05-19 18:39:11 +00:00
heas
2ad3ac5978 Changes for PFIX 2.4.1 2007-05-19 18:08:54 +00:00
heas
2626a40999 Resolve import conflicts 2007-05-19 17:49:37 +00:00
mhitch
bc467535b8 Fix multiprocessor operation: move a couple of fields in struct cpu_info
to the beginning so they can still be accessed in assymbly code using 8 bit
offsets.  The addition of a big structure in cpu_data moved these outside
the range of the addq instruction.  Gas should have complained that the
immediate value was too large, but just silently truncated it.  I can now
run multiprocessor again.
2007-05-19 17:09:35 +00:00
pooka
68568e7a22 forgot to commit this with puffs_vnops.c 1.72:
Actually, we do need separate "no references in file server" and
"noref + inactive" flags if we wish to correctly support unix open
file semantics and optimize away pre-reclaim cache flushes.  So,
add PNODE_DYING which stands for norefs + inactive.
2007-05-19 16:50:49 +00:00
pooka
121b6fb7b3 Actually, we do need separate "no references in file server" and
"noref + inactive" flags if we wish to correctly support unix open
file semantics and optimize away pre-reclaim cache flushes.  So,
add PNODE_DYING which stands for norefs + inactive.
2007-05-19 16:35:01 +00:00
heas
a924864766 postfix 2.4.1 2007-05-19 16:27:18 +00:00
christos
a118ee6dde use MKMAN=no 2007-05-19 15:39:01 +00:00
christos
1f70ed77a6 use MKMAN=no, ad CVSID, from Kurt Schreiner 2007-05-19 15:38:06 +00:00
christos
be632c9205 make this compile again. Thanks Kurt Schreiner. 2007-05-19 15:35:04 +00:00
tsutsui
4521a25b2f Regen from pcidevs rev 1.880:
> Add IBM GXT250P video.
2007-05-19 14:57:44 +00:00
tsutsui
f21468d172 Add IBM GXT250P video. 2007-05-19 14:56:24 +00:00
wiz
39a58c1651 Bump date for previous. 2007-05-19 14:43:20 +00:00
wiz
0946d2d22d Improve wording for -T. 2007-05-19 14:41:13 +00:00
wiz
760ca22d96 Bump date for previous. 2007-05-19 14:30:55 +00:00
wiz
e2598a32e0 Fix bug introduced by imperfect wizd emulation. 2007-05-19 14:28:42 +00:00
tsutsui
2340b51076 Set DTR and RTS in NS16550_init().
Some terminal requires it even if hardware flow control is disabled.

XXX: should we sync bebox/stand with prep?
2007-05-19 14:26:08 +00:00
isaki
38bf980ecb Use do { } while (0) to macro. 2007-05-19 14:25:26 +00:00
wiz
c54913c02b Remove scheduler activations references. Bump date. 2007-05-19 14:24:42 +00:00
wiz
36f6e8095a Sort options. Bump date. 2007-05-19 14:23:25 +00:00
wiz
febfcb5f7e Fill in AUTHORS section. Bump date. 2007-05-19 14:21:36 +00:00
isaki
2440803ee4 Adapt to the merge of yamt-idlelwp branch.
tested on my X68030.
2007-05-19 14:19:39 +00:00
wiz
b95973aaa7 Sort sections. Use Po/Pc to avoid weird Xr arguments. 2007-05-19 14:18:33 +00:00
wiz
8628fd488d Fix typo. 2007-05-19 14:16:30 +00:00
wiz
019e3a752f regen (including sparc64/fdc) 2007-05-19 14:16:09 +00:00
wiz
cb42c50522 Short options belong together. 2007-05-19 14:15:58 +00:00
pooka
1a07ce5385 quick TODO-list. very incomplete 2007-05-19 12:03:30 +00:00
pooka
cc2ad436bf Allocate buf in 4k chunks instead of 64k chunks. If we are seriously
reclaiming and the network/server is slow, we might have thousands
of buffers allocated at the same time causing the process to run
out of vm space.  Rate limiting the number of outstanding ops would
be a nicer choice, but that requires more complex changes.
2007-05-19 11:01:21 +00:00
pooka
b283afddec support reclaim. set noref setback when removing a node to prompt
immediate reclaim.
2007-05-19 10:38:23 +00:00
agc
c048d63924 Add a function to return the virtual offset in the virtdir_t tree. 2007-05-19 06:15:38 +00:00
he
57451082bc Adapt to the merge of the yamt-idlelwp branch.
curcpu()->ci_want_resched is now required, so get rid of the
want_resched global.  Also, cpu_need_resched() now takes two arguments.
The l_next and l_back fields in struct lwp no longer exists, so delete
references to it from genassym.cf.
Also, m68k/m68k/proc_subr.s is no longer used, says mhitch, so remove its use.

This brings the atari BOOT kernel back to a buildable state.
2007-05-18 22:58:51 +00:00
riz
72c8d580f7 Add 'options TCP_SIGNATURE' to hopefully keep this code from
invisibly breaking periodically, as it's done a couple times.
2007-05-18 22:38:51 +00:00
pavel
224217a90e from FreeBSD's src/sys/dev/bge/if_bgereg.h rev 1.22:
Fix a typo. BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34
Noticed by Patrick Welche on tech-kern@, ok cube.
2007-05-18 22:30:24 +00:00
riz
711b142f07 Fix compilation in the TCP_SIGNATURE case:
- don't use void * for pointer arithmetic
	- don't try to modify const parameters

A kernel with 'options TCP_SIGNATURE' works as well as it ever did, now.
(ie, clunky, but passable)
2007-05-18 21:48:43 +00:00
christos
3b320420fe fix a comment. 2007-05-18 21:46:39 +00:00
christos
5dda3f8930 mention ld.elf_so change. 2007-05-18 21:45:10 +00:00
christos
04ee85ad50 Support Solaris-like $ORIGIN etc. expansions in paths. 2007-05-18 21:44:08 +00:00
christos
d4ba6c5809 tests for $ORIGIN 2007-05-18 21:41:38 +00:00
riz
89c9ca415d Revert a small part of revision 1.254 - remove const qualifier from
the struct tcphdr * argument of tcp_dooptions().  RFC2385 support
(options TCP_SIGNATURE) needs to modify the header during options
processing, and this revision broke it.

OK yamt@.
2007-05-18 21:31:16 +00:00