Commit Graph

168333 Commits

Author SHA1 Message Date
jmmv dad672bb3e Beleatedly document the MODULAR kernel option and mk.conf's MKMODULAR.
Per hubertf@'s request.
2008-03-22 12:29:01 +00:00
lukem a6de26fe1b add USE_* to params 2008-03-22 12:02:59 +00:00
mlelstv 5d9c8e15e0 Import Heimdal-1.1
one more missing file
2008-03-22 10:35:47 +00:00
yamt d92af407ba call setlocale so that nl_langinfo makes sense. 2008-03-22 10:30:21 +00:00
yamt 9adad93037 wrap a long line. 2008-03-22 10:24:17 +00:00
mlelstv d5be9e9c1d Import Heimdal-1.1
more files
2008-03-22 09:39:22 +00:00
mlelstv 2370a334ab Import Heimdal-1.1
more missing files
2008-03-22 09:29:55 +00:00
mlelstv 2af0cb41eb Import Heimdal-1.1
Files missing from first commit.
2008-03-22 09:24:06 +00:00
mlelstv bc2aa8cb1a document the import of Heimdal-1.1 2008-03-22 09:06:34 +00:00
mlelstv b0f88a0388 Import Heimdal-1.1 2008-03-22 08:36:48 +00:00
bjs d5e8b5ed97 Allow this to compile if LISTQ is undefined:
- Put '#ifdef LISTQ' ... '#endif' pairs around pageq_insert_head()
	  and clockpro_insert_head().

	- Add missing argument to printf statement.
2008-03-22 05:50:42 +00:00
nakayama d0e8e57d7d Lock also on freeing own context, and add assertion. 2008-03-22 04:15:49 +00:00
nakayama c7f58e76ff Insert a delay with enabling interrupts to avoid deadlocks
when sending IPI is failed.
2008-03-22 04:12:32 +00:00
uwe 823b306d1e Revert interrupt stack changes. There are some issues and, at least
in the current form, they complicate implementation of fast software
interrupts.  I'd rather get fast softints in now and may be revisit
interrupt stack later.
2008-03-22 03:23:27 +00:00
ad 5456139476 Catch up with recent file descriptor changes. 2008-03-22 02:39:06 +00:00
bjs 3b2cc68264 fdputfile -> fd_putfile 2008-03-22 01:24:23 +00:00
uwe 57ea1b0849 Oops, delete commented out line forgotten in previous. 2008-03-22 00:21:52 +00:00
uwe 18d9c9643e On SH4 we must be running on P2 to access memory-mapped TLB arrays.
Print DA2 again - that messenger was shot in 1.34
2008-03-22 00:15:41 +00:00
rmind cbb7f92857 unp_gc: unlock filelist_lock in a case of restart. 2008-03-21 23:38:40 +00:00
christos ab6254493d Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
2008-03-21 23:13:48 +00:00
ad 141056103a Er, regen... 2008-03-21 22:12:13 +00:00
ad 40607e5bba Regen. 2008-03-21 21:59:27 +00:00
ad bc370563bc Mark kqueue/kevent MPSAFE. 2008-03-21 21:58:57 +00:00
ad 8d6e52aaa9 4.99.56 - file descriptor and kqueue changes 2008-03-21 21:56:53 +00:00
ad a9ca7a3734 Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
2008-03-21 21:54:58 +00:00
ad c743ad7159 File descriptor changes, discussed on tech-kern:
- Redo reference counting to be sane.  LWPs accessing files take a short
  term reference on the local file descriptor.  This is the most common
  case.  While a file is in a process descriptor table, a reference is
  held to the file.  The file reference count only changes during control
  operations like open() or close().  Code that comes at files from an
  unusual direction (i.e. foreign to the process) like procfs or sysctl
  takes a reference on the file (f_count), and not on a descriptor.

- Remove knowledge of reference counting and locking from most code that
  deals with files.

- Make the usual case of file descriptor lookup lockless.

- Make kqueue MP and MT safe. PR kern/38098, PR kern/38137.

- Fix numerous file handling bugs, and bugs in the descriptor code that
  affected multithreaded processes.

- Split descriptor system calls out into sys_descrip.c.

- A few stylistic changes: KNF, remove unused casts now that caddr_t is
  gone. Replace dumb gotos with loop control in a few places.

- Don't do redundant pointer passing (struct proc, lwp, filedesc *) unless
  the routine is likely to be inlined.  Most of the time it's about the
  current process.
2008-03-21 21:53:35 +00:00
reed 4be51e0191 Add five more tips. 2008-03-21 21:45:30 +00:00
ad 159f554369 Move pthread__errno() into pthread_specific.c so it gets the "no stack
frame" treatment.
2008-03-21 21:35:43 +00:00
reed 6a0fa0e83c Fix reference to sshd_config manpage. 2008-03-21 21:27:16 +00:00
reed b89951ff87 Add "netbsd-tips" fortune database with 23 initial fortunes --
actually hints or suggestions or tips on using NetBSD.
Please share your brief NetBSD usage tips.
If you want to discuss or share suggestions, have a look
at http://wiki.netbsd.se/netbsd-tips wiki page.
2008-03-21 21:09:48 +00:00
plunky 8b2b4c8612 use devsw_name2chr() to look up the major number of the midi device as
it is a character device
2008-03-21 19:33:24 +00:00
plunky 606c30fdca add devsw_name2chr() function to look up character devices 2008-03-21 19:32:07 +00:00
plunky 755dfb4f38 when queueing a message back to Venus, prioritise signals by inserting
them at the head of the queue.

The original code had a comment saying to do this but the INSQUE did
not have any way to do that so it didn't actually
2008-03-21 18:02:39 +00:00
plunky 72ac0bcc50 convert more insque/remque style queuing to use a queue(3) TAILQ,
this necessitates using a flag to indicate vc_open instead of abusing
the queue pointer but apart from that there is no functional
difference.
2008-03-21 17:59:57 +00:00
ad 0c65d1b648 - Use atomic_inc_uint() to maintain the global count.
- Use a barrier to sync thread start.

Ok yamt@.
2008-03-21 16:03:33 +00:00
jdc 915ba4ba52 Increment libcurses minor version (termattrs() and term_attrs() added). 2008-03-21 13:43:36 +00:00
jdc 805ac24bda Add termattrs() and term_attrs().
Order the descriptions so that functions handling normal and functions
handling wide attributes are grouped together.
2008-03-21 13:43:17 +00:00
jdc 1ac1993d5c Add termattrs() and term_attrs(). 2008-03-21 13:42:50 +00:00
jdc 56a23c4b24 Add termattrs() and term_attrs().
Conditionally define HAVE_WCHAR, so that userland programs can see wide
definitions and functions.
2008-03-21 13:42:39 +00:00
jdc 80b229386d Add termattrs() and term_attrs() (requested by wiz@).
Only allow standout and underline if the terminal can do them.
2008-03-21 13:41:49 +00:00
xtraeme c280868dfa Split device_t/softc for all hpet consumers. 2008-03-21 13:28:14 +00:00
xtraeme d749da9154 Split device_t/softc for ichlpcib(4) and all hpet consumers, plus
other related cosmetic changes.
2008-03-21 13:25:27 +00:00
ad 58668c8e48 Add PB_PREV(), RB_FOREACH_REVERSE(). From FreeBSD. 2008-03-21 13:07:15 +00:00
xtraeme 409a4c533c Split device_t/softc for amdpcib and the hpet attachment, plus other
related cosmetic changes.
2008-03-21 12:29:38 +00:00
yamt 9ff0d7c13c test select(2). 2008-03-21 12:27:12 +00:00
rtr 16ebb0dc79 when the char being searched for is not found strchr() must return NULL
not a pointer to the terminating '\0'. the only time we return a pointer
to the terminating '\0' is when the char being searched for is '\0'.

fixes problem observed booting -current install
http://mail-index.netbsd.org/current-users/2008/03/20/msg001445.html
2008-03-21 10:24:13 +00:00
spz 435d63b60c default itojuns responsibilities to core 2008-03-21 08:56:06 +00:00
spz 5bdbf3a591 fix typo noticed by Christoph Egger 2008-03-21 08:53:06 +00:00
xtraeme 79f06cdde2 Don't forget to set the atac dev pointer in the softc; ahcisata at jmide
works again after that.

Also use CFATTACH_DECL_NEW, device_t and related changes for the NJMAHCI
block.
2008-03-21 08:25:38 +00:00
dyoung 935a45a6fb Use aprint_*_dev() instead of accessing struct device member dv_xname
directly.
2008-03-21 08:20:04 +00:00