Commit Graph

100177 Commits

Author SHA1 Message Date
chs a7763f6e2c create a syscall_plain() like on other platforms
and avoid getting the kernel lock for MPSAFE syscalls.
2002-07-28 07:05:53 +00:00
chs 0e5816fca3 remove a local copy of mfmsr(). 2002-07-28 07:05:19 +00:00
chs 7f81a49168 propagate the MP idle-loop fix to ppc from the other ports:
Move call to sched_unlock_idle to later in the context switch to
  eliminate a race where another processor could grab the outgoing
  process before we were done saving our state into it, with predictable
  results.

  Bug spotted by Frank van der Linden <fvdl@wasabisystems.com>

also, don't re-enable interrupts temporarily in the middle of
switching to a new process, just wait until we're completely switched.
this didn't work on MP and it's not worth the effort.
2002-07-28 07:05:06 +00:00
chs badae2dc11 disable the PTE_EXEC optimization for MP for now.
PTE_EXEC needs to become a per-CPU flag eventually.
2002-07-28 07:03:47 +00:00
chs 9b01e8d8ce split off the part of cpu_attach_common() that pokes at special CPU registers
into a separate function so that we can run it on each CPU we configure
rather than always on the boot CPU.
2002-07-28 07:03:15 +00:00
chs 84b41b2adb rearrange the PCB structure a bit so it's easier to look at in ddb. 2002-07-28 07:02:54 +00:00
chs 4b5a2a3f79 define CPU_INFO iterators so that the CPU-states sysctl works for MP. 2002-07-28 07:02:29 +00:00
chs 1fab9d5375 remove a spurious printf. 2002-07-28 07:00:58 +00:00
bjh21 2e5fd793fb Set the volume ID on CDs produced my "make iso-image" to something meaningful,
rather than the default of "CDROM".  The volume ID now looks like
"NETBSD_ACORN26_16D".
2002-07-28 01:21:07 +00:00
christos a2e4cf52ec use the fname we passed in. 2002-07-28 00:45:11 +00:00
christos 1e703dc185 add utmpx support. 2002-07-27 23:58:40 +00:00
christos 7908c76c97 Add utmp processing functions 2002-07-27 23:57:39 +00:00
christos 2004baccd5 add some utmp processing functions. 2002-07-27 23:57:02 +00:00
christos 06596adfbd add utmpx/wtmpx processing support. 2002-07-27 23:49:47 +00:00
christos 8720535dd6 add utmpx/wtmpx processing routines. 2002-07-27 23:49:23 +00:00
christos d857e8ec8a add utmpx/wtmpx processing routines 2002-07-27 23:49:00 +00:00
christos 51de4d82f7 make this compile without SUPPORT_UTMPX 2002-07-27 22:58:07 +00:00
christos 48715dcc0c Factor out the utmp/wtmp/lastlog updating and add utmpx/wtmpx/lastlogx updating.
Both are turned on for now.
2002-07-27 20:10:32 +00:00
christos fef92308ac add lastlogx implementation. 2002-07-27 19:38:29 +00:00
christos 230d3c5bc9 updates to lastlogx implementation. 2002-07-27 19:38:08 +00:00
christos ca989d9a38 Use strcmp() instead of memcmp() because if we get passed a 0 length name
and secret, we'll authenticate successfully! While there, rename passwd to
secret so that code looks nicer.
2002-07-27 19:09:07 +00:00
chs e697956ce6 we can't use the vnode's v_usecount to track how many times the vnode
has been VOP_OPEN()'d.  if the fifo is being accessed via a layered fs,
v_usecount is always one (representing the hold by the layered vnode)
regardless of how many times the vnode has been opened.  instead, keep a
separate counter for opens.  fixes PR 17195 and probably 17724.
2002-07-27 16:43:36 +00:00
fredette ee28fd70d7 Fixed kgdb support by including <sun2/dev/cons.h>. 2002-07-27 15:55:36 +00:00
christos d1ccf94413 reset fp when we are done with it. 2002-07-27 15:44:45 +00:00
chs ebe4c850ef allocate the bufq after zeroing the swapdev structure, not before. 2002-07-27 14:37:00 +00:00
hannken ba3784ca91 Convert to new device buffer queue interface.
Approved by: Reinoud Zandijk <reinoud@netbsd.org>
2002-07-27 11:09:35 +00:00
hannken 69d849b171 Convert to new device buffer queue interface.
Approved by: Marcus Comstedt <marcus@netbsd.org>
2002-07-27 11:07:35 +00:00
grant 32c14ac1fc refresh screen before processing menus. 2002-07-27 10:02:50 +00:00
grant 8136155741 move password cipher menu down to avoid overwriting text. 2002-07-27 10:02:05 +00:00
grant e4767a0f1a resolve release failure by adding ./var/spool/output/lpd (from bin/7054). 2002-07-27 01:02:26 +00:00
rafal dcca4b64ea Add sgimips-specific file lists for installation and binary/kernel dirs. 2002-07-26 22:31:26 +00:00
manu 170080a9df Added fdisk for hpcarm 2002-07-26 18:03:11 +00:00
manu 3f13baf349 Added fdisk on hpcarm 2002-07-26 17:22:51 +00:00
rafal a1489321a2 Fix up sgimips install sections to more closely correspond to the current
state of reality: comment out O2 references since 1.6 won't support the
O2, add notes on installing via a net-booted kernel, disk partitioning
(disk must have IRIX volhdr, one-disk split NetBSD/IRIX install has not
been tested and may/may not work).  Also expand/add some examples.

XXX: Should add info on the "extra" kernel sets like the INSTALL_INDY,
etc. sets.
2002-07-26 15:41:55 +00:00
simonb 64ccdf4b88 Fix size of the pmax Xserver set. 2002-07-26 14:36:03 +00:00
atatat f6a1c49f5e NetBSD id police 2002-07-26 14:16:37 +00:00
wiz 645df36eff Spell '[Rr]ight' correctly. From Jim Bernard. 2002-07-26 14:11:34 +00:00
wiz b02ee1f0b7 Two typos in comments. 2002-07-26 14:10:22 +00:00
joda a48e860d85 regen; System controller in SGI O300 2002-07-26 13:32:49 +00:00
joda 78869892e3 System controller in SGI O300 2002-07-26 13:31:33 +00:00
hannken c32ed76dba Convert to new device buffer queue interface.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2002-07-26 13:19:52 +00:00
tsutsui 5c5e3f7e79 Mention more configuration of flags to disable tagged queuing. 2002-07-26 13:12:47 +00:00
tsutsui aa1cd5db22 vga_common_attach() now seems to take quirks arg.
BTW, why don't we put it into vc_quirks member of vga_softc directly
in MD attachments?
2002-07-26 12:57:38 +00:00
onoe ad4f7e6d3a Note Silicon Image 0680 support 2002-07-26 10:37:32 +00:00
onoe 46243dd61d Add support of Silicon Image 0680 Ultra ATA/133 ATA Controller.
It's ugly that all register values are written in numeric, but I can't
find any definition of the registers to be written in literal.
2002-07-26 10:23:30 +00:00
onoe 2354f208d4 regen: Add Silicon Image (CMDTECH) 0680 2002-07-26 10:17:21 +00:00
onoe f0f7c1edb7 Add Silicon Image (CMDTECH) 0680 2002-07-26 10:14:00 +00:00
jdolecek fceac2db48 After showing help, touchwin/wrefresh the stdscr, do not try to do
that for form subwindow, which may be NULL (or is always, even?).

This fixes SIGSEGV when one goes to
Network related configuration -> Modify the hosts file -> Delete host entries
and presses F1 (Help).
2002-07-26 08:43:26 +00:00
jdolecek d5d1e7aa6c fgetln() does NOT return NUL-terminated string
This fixes bin/13624 by Jun-ichiro itojun Hagino
2002-07-26 07:59:33 +00:00
jdolecek ec977bae0f make sure at least one host is selected before changing /etc/hosts
Fixes bin/15713 by Tracy Di Marco White.
2002-07-26 07:29:06 +00:00