Commit Graph

168333 Commits

Author SHA1 Message Date
xtraeme 678337ef71 acpitz_get_zone expects now a device_t not a softc. 2008-03-26 16:48:53 +00:00
dyoung 3adac159e7 Define fkb and sfkb once instead of in both elansc_protect_text()
and elansc_protect().  Should stop GCC from complaining about an
unused variable fkb.
2008-03-26 16:45:32 +00:00
xtraeme 8bea7f6b6e Split device_t/softc for ug(4) and other related cosmetic changes. 2008-03-26 16:09:37 +00:00
dyoung b0cfcf1f00 Use as many as two Programmable Address Regions (PARs) with 4kB
granularity to protect some of the kernel text that is not protected
by the PAR with 64kB granularity.
2008-03-26 15:49:03 +00:00
xtraeme 2be2546b16 Split device_t/softc and related cosmetic changes. 2008-03-26 15:31:59 +00:00
kiyohara 08b5f8f61c Remove printf() when VGA vendor is case Diamond and Matrox. Moreover
this printf() will make the start of CPU1 fail.  I have not understood the
reason yet.  When doing DEBUG is effective, the vender of all PCI devices
will be displayed again.  At this time, printf() doesn't support the format
like "%08x".
2008-03-26 15:09:50 +00:00
kiyohara 7bff3a9b0b We might be able to use VGA. Please comment out for line '-DCONS_SERIAL'
if you wish for it.  In that case, you will occasionally see the hoarsely
and strangely transformed character on screen. This reason cannot be
understood yet.
Default is continuously a serial console.
2008-03-26 14:56:18 +00:00
ad 9591013005 Defer processing of routing messages to a soft interrupt. These can be
generated at IPL_VM and it's not safe to call directly into the socket
layer at that level. Reviewed by matt@.
2008-03-26 14:53:14 +00:00
cube 6495be5eed Split device_t and softc, and related cosmetic changes. 2008-03-26 14:46:21 +00:00
skrll 280a563bc4 Typo. 2008-03-26 14:41:00 +00:00
kiyohara 9edbb57d26 Cleanup bebox_{enable,disable,get}_irq(). 2008-03-26 14:34:42 +00:00
ad 021b86dd4b Changes for PR kern/38291 (panic unmounting MFS /tmp):
- Reference count the mfsnode to fix an aincent bug. Only destroy when
  reference count drops to zero. In mfs_start(), busy the mount and get
  a reference to the mfsnode to prevent it disappearing while the server
  is running. If the file system is gone already, vfs_busy() will fail.
- Always destroy the bufq.
- Use a global mfs_lock for simplicity.
- Replace use of malloc/free. Fixes broken MALLOC_TYPE change.
2008-03-26 14:19:43 +00:00
ad c496ce1a99 Update dmover fileops to compile again. From he@. 2008-03-26 13:33:58 +00:00
ad 78656b1e91 - kqueue_scan: work around problem noted by yamt@: if an event fires while
we have unlocked the kqueue to check its state, leave it queued and
  re-check later.
- knote_dequeue: fold into knote_detach since nothing else uses it.
- Note a couple more problems.
2008-03-26 13:32:32 +00:00
chris 0e8428c0f6 Remove arm32 ddb machine commands that no longer exist.
Also change widest string to traptrace as intrchain no longer exists.

Fixes port-arm/38311
2008-03-26 13:03:51 +00:00
chris 9c31e33724 Add help text to arm machine specific ddb commands.
Part of fix for port-arm/38311.
2008-03-26 13:01:13 +00:00
ad 4490d3fdcf Correct pasto in the cc_microtime defs. From tsutsui@. 2008-03-26 12:36:33 +00:00
lukem d2075344b1 Add pam_skey so that we get behaviour similar to "pre PAM". 2008-03-26 11:31:17 +00:00
jmcneill e72a19155e PR#38301: Add support for SMBus controllers for ATI SB600, SB700, SB800
chipsets, from Christoph Egger.
2008-03-26 11:14:33 +00:00
jmcneill 1b7a201c53 Regen for PR#38301 2008-03-26 11:13:30 +00:00
jmcneill b564cf1560 PR#38301: Add support for SMBus controllers for ATI SB600, SB700, SB800
chipsets, from Christoph Egger
2008-03-26 11:12:43 +00:00
apb f5c2801052 Add /* __OPTIMIZE_SIZE__ */ comments on relevant #else and #endif lines.
Also change some #ifdef to #if defined() for consistency.
2008-03-26 06:19:36 +00:00
christos f071da976a - put const back, no reason to modify the prototype.
1. Please don't cast function pointers to (void *), use the full function
   prototype cast; this is for archs where a function pointer is not a regular
   pointer.
2. Compare pointers to NULL not 0.
2008-03-26 02:21:52 +00:00
christos efe07f9c02 fix again 2008-03-25 23:24:38 +00:00
christos 9f2bc34fb9 bcopy does not return ptr. 2008-03-25 23:23:34 +00:00
christos 55feb339a9 fix bcopy again 2008-03-25 23:23:13 +00:00
yamt 91ae756395 - for some ports, especially for ones without pmap_growkernel,
buf_memcalc is used by bootstrap as well.  fix NULL dereference for them.
- limit kva usage for each cache to 20% of vm_map.  XXX a bit arbitrary.
- add a comment.
2008-03-25 23:21:42 +00:00
christos 8ac6bd68d8 fix bcopy prototype 2008-03-25 23:21:04 +00:00
christos 3d8daf0799 add a prototype for bcopy. 2008-03-25 23:19:51 +00:00
christos 93f951ce0d fix #ifdefs for BCOPY 2008-03-25 23:16:29 +00:00
christos 985a3d11e8 add bcopy and bzero for the benefit of loadfile. 2008-03-25 23:13:15 +00:00
christos 19d181b7f5 add bcopy and bzero for loadfile for now. Should get rid of it. 2008-03-25 23:12:31 +00:00
christos 9ebe85fa97 remove stray comment 2008-03-25 22:55:25 +00:00
christos 8f0af7be4b fix typo 2008-03-25 22:54:54 +00:00
ad 8910b668ba mount_domount: hold an additional reference to the mountpoint across the
call to VFS_START. The file system can be unmounted before VFS_START
returns. Partially addresses PR kern/38291.
2008-03-25 22:13:32 +00:00
xtraeme 87e2fc09d7 The select and poll subsystems are now implemented in sys_select.c
and not sys_generic.c.
2008-03-25 21:51:32 +00:00
christos e1b834bdd8 - use mem* instead of b* routines, and kill the b* routines.
- use the mem* routines from libc.
XXX: There will be some lossage, but I am fixing it.
2008-03-25 21:23:50 +00:00
christos 9e32ad04aa add __OPTIMIZE_SIZE__ versions. 2008-03-25 21:22:37 +00:00
martin 261a6922f9 Make the debug message that triggered in PR 38297 slightly more verbose 2008-03-25 20:44:12 +00:00
reed 10ebc9ab81 Add some MLINKS for man pages (no new content).
lpa(4) (Man page was removed about 14 years ago. Now link to lpt.4
on acorn32, i386, and mvme68k.)

audioctl(4)

random(4)
urandom(4)

tuner(4)
vbi(4)

wsmuxctl(4)

As mentioned on netbsd-docs list. (Many, many more man pages to do.)
2008-03-25 20:04:33 +00:00
apb babf703a98 Reference stuirda(4), which now exists. (Inspired by revision 1.86.) 2008-03-25 19:53:13 +00:00
apb 7de1195e8c Change "2001" to "2007" in the copyright notice. This file was created in
2007, and I assume the 2001 was accidentally copied from elsewhere.
2008-03-25 19:49:40 +00:00
apb dd2f4bae78 Install the stuirda.4 man page, which was created in June 2007. 2008-03-25 19:41:56 +00:00
martin 31c74d197f Count the number of syscalls per cpu, to avoid cache trashing around
uvmexp.syscalls.
I wonder if we should apply the same treatment to uvmexp.{traps,intr,faults}
2008-03-25 16:42:07 +00:00
martin d05574d259 Remove unused symbol 2008-03-25 16:01:15 +00:00
martin 23e1f3f5d4 Use cpu index instead of ID for cpuctl; extend listing to provide both
numbers (but now the ID is only informational).
2008-03-25 15:06:02 +00:00
martin 3ee500ddd5 Translate "Test programs" 2008-03-25 12:54:32 +00:00
wiz 9abcd2ffbe Fix a tip: use pkg_info, not pkg_add to find out which executables
belong to a package.
2008-03-25 10:50:34 +00:00
mlelstv 237876a9eb add new Heimdal files for MKDEBUG option 2008-03-25 07:03:02 +00:00
mrg a2ab41e161 s/exit 0/true/ in the main target so that this works if interrupted
between "mkdir" and libiberty.a being built.
2008-03-25 03:59:17 +00:00