Commit Graph

108909 Commits

Author SHA1 Message Date
lukem
31e59fe101 - add [-m machine] support, from David Laight dsl@
- parenthesise some messages
- add some bugs and todo items
2003-02-18 10:12:52 +00:00
jdolecek
12ce0f9377 replace some magic error number with descriptive defines; meaning of the numbers
found in Samba/Linux smbfs
2003-02-18 10:09:28 +00:00
jdolecek
488fc89a73 use Xo/Xc to work-around our current tmac macro limitation of nine
arguments
2003-02-18 09:55:09 +00:00
jdolecek
0f48fcb071 g/c code not used by NetBSD
constify mopts[]
2003-02-18 09:53:55 +00:00
jdolecek
74563995a5 make compile on NetBSD - <sys/endian.h> instead of <sys/mchain.h>, use
explicit width macros, disable some not-yet supported functionality
(conversion map upload, smb_dumptree())
2003-02-18 09:52:03 +00:00
jdolecek
648f05609d no need for iconv.h include here
no \n on end of warn() format
include <sys/param.h> for some contants
iconv_loaded--, not iconv_loaded++ when the dlopen() fails
2003-02-18 09:47:48 +00:00
jdolecek
add8c3ba9a constify some structs 2003-02-18 09:45:58 +00:00
uwe
483b412ce5 Always include bsd.subdir.mk, move it out of .if defined(ARCHSUBDIR).
Let the build proceed for arches that don't support libpthread yet.
2003-02-18 09:35:31 +00:00
dsl
b80a5f24c5 KNF kern_prot.c 2003-02-18 08:37:41 +00:00
shin
ea688f03fb s/netbsd.aout/netbsd/ 2003-02-18 08:18:31 +00:00
shin
f37f0fc990 remove workaround for toolchain bug (already fixed). 2003-02-18 08:13:13 +00:00
shin
1bcf450633 toolchain problem (toolchain/16529) was fixed. build miniroot for pmax. 2003-02-18 08:11:21 +00:00
grant
60a45bbcd7 add missing networking options, commented.
ok'd by ross.
2003-02-18 05:50:51 +00:00
perry
399b25deea Clarify a bit, fix up the examples somewhat, etc. 2003-02-18 02:17:38 +00:00
perseant
e61877243d Make it compile again, grr.... 2003-02-18 02:00:08 +00:00
grant
72f6291506 add Intel PRO/100M.
from Quentin Garnier in PR kern/20400.
2003-02-18 00:11:53 +00:00
grant
1f01efa58c regen 2003-02-18 00:10:31 +00:00
grant
ce4e49f957 add Intel PRO/100M. 2003-02-18 00:09:43 +00:00
perseant
b397c875ae Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.
2003-02-17 23:48:08 +00:00
nathanw
0cfe2d1c69 Test p->p_sa instead of p->p_flag & P_SA, as the latter may have been
cleared by sigexit().
2003-02-17 23:45:47 +00:00
nathanw
1e8f36c002 Clear L_SA from all LWPs in sigexit() to prevent any upcalls or
sa_switch() invocations while exiting. Test P_SA instead of L_SA, out
of paranoia. Avoids a possible remrunqueue panic reported by Havard
Eidnes.

Release the kernel lock before calling the userret function to exit in
sigexit(). Problem noted by Paul Kranenburg.
2003-02-17 23:45:00 +00:00
nathanw
a87506d477 Note yet another SMP danger spot. 2003-02-17 23:32:33 +00:00
david
9a38c06746 sync with GENERIC
add: options SYSTRACE
2003-02-17 22:44:37 +00:00
christos
e2b7a1ed43 Add a ttyprintf_nolock() to be called when we are printing the ttyinfo
stuff, since we already have the lock.
Adjust tputchar so that it does not lock, when NOLOCK is passed in flags.
2003-02-17 22:23:14 +00:00
christos
e5323a474c - remove __STDC__ crap. It did not work anyway with pre-ansi compilers, since
va_start() takes one arg, and va_alist must be the only argument of a
  varyadic in the K&R world.
- pass flags to tputchar.
2003-02-17 22:21:52 +00:00
christos
b91742b0f8 tputchar grows a flags argument. 2003-02-17 22:19:28 +00:00
christos
40da850b07 grow a NOLOCK flag. 2003-02-17 22:19:13 +00:00
is
ca86df3f7e Actually make additional arguments in mailer.conf useful, and document
them.
Reviewed by perry and wiz.
2003-02-17 21:18:46 +00:00
ichiro
4b8928ad4a files.ixp12x0
no need device ixpcom in evbarm/conf/files.evbarm move it to
arm/ixp12x0/files.ixp12x0

ixp12x0_com.c:
some fix around address handling
1. Do not call bus_space_map() in ixpcominit().  Calling bus_space_map()
   is not safe here, because bus_space_map() calls uvm_km_valloc() but
   uvm is not yet initialized.
2. Use dv_unit to determine console instead comparering iobase.
   Now you can attach ixpcom0 with physical address like this:
        ixpcom*         at ixpsip? addr 0x90000000 size 0x4000
Statically mapped address (0xf0000000) is still usable.

ixp12x0_clk:
1. access PLL_CFG register via bus_space
2. Make the delay() working correctly.  (bug fix)
3. Start the timer device without interrupt on attach time.
   Now delay() called before cpu_initclocks() works fine.

ixp12x0_pci:
1.Mapping PCI type0/1 configuration space to the upper address.
2."PCI I/O Cycle Access" mapping to same virtual address(VA==PA)
   but size of this mapping increase to 1MByte because fails
   cause couldnt set L2 table.
3.use bus_space address handling in ixp12x0_pci.c.
2003-02-17 20:51:52 +00:00
nathanw
99922845b9 Include both application threads and "raw" LWPs in GDB's list of
threads. This is useful for a variety of things, including examing the
internal state of the thread library when things are going wrong
there.

Currently only works on core files; both ptrace and gdb will need a
bit more work before this will be useful on live processes.

Inspired by the similar behavior of the Solaris thread module.
2003-02-17 20:32:04 +00:00
drochner
2b294580b8 add copyright notices 2003-02-17 20:07:06 +00:00
dsl
c4ccc4eaf4 Fiddle with screen layout to generate room for longer labels on the
interrupt count fields.
(approved by christos)
2003-02-17 19:30:33 +00:00
augustss
34592076d4 Make it play RMID files as well. From bin/20388, Quentin Garnier. 2003-02-17 18:00:27 +00:00
grant
e245be8651 we really should install the GENERIC kernel by default.
fixes PR install/18502 from Jay R. Fink.
2003-02-17 16:31:05 +00:00
christos
8475773db1 Add wtmpx support. 2003-02-17 15:08:57 +00:00
tshiozak
d62eb597a2 fix a few problems in the last commit:
- make sure that the driver checks the battery presence at acpibat_update()
    if the battery has been not present, because the driver sometimes
    (i.e. boot time or resuming time) miss to sense the presence.
  - make sure that the driver always update the status at acpibat_gtredata();
    I misunderstood about ACPI_NOTIFY_BatteryStatusChanged event.
2003-02-17 14:37:57 +00:00
christos
46a5ddc0d3 fix static length variables. 2003-02-17 13:56:28 +00:00
simonb
7a3efea0bf Make whitespace in multi-way loops line up a bit nicer. 2003-02-17 12:32:13 +00:00
wiz
70d4e8ed08 file-3.40 out. 2003-02-17 12:24:13 +00:00
simonb
1fba8c7990 Add ROA (Roanoke, VA). 2003-02-17 12:19:27 +00:00
simonb
8883b06039 No need to protect headers with #ifdef _KERNEL if they're never installed
in /usr/include.
2003-02-17 11:35:01 +00:00
dsl
d75ec8181e Fix resize of windows with subwins.
Let window size be given as a -ver number => lines from bottom.
Fix trace calls of pointers
(approved by Brett Lumn)
2003-02-17 11:07:19 +00:00
wiz
df1519e03b Add setuid(7). 2003-02-17 10:32:02 +00:00
wiz
fc2b9a57fc Add setuid(7), from Henry Spencer, converted to mdoc by me.
XXX: Improvements are welcome, in parts a bit out of date.
2003-02-17 10:30:34 +00:00
jdolecek
baec08a11d constify a little 2003-02-17 09:55:49 +00:00
martin
28067ee7b9 Fix an unitialized variable (from binutils 2.13).
Fixes PR toolchain/20377.
2003-02-17 09:33:03 +00:00
soren
e9d72b5b52 Make ALLOC_TRACE work again. 2003-02-17 08:21:39 +00:00
perseant
f05dc43395 Note bridge(4)/brconfig(8) with ipf. 2003-02-17 02:17:07 +00:00
simonb
118763056a Fix a tyop in a comment. 2003-02-17 00:11:54 +00:00
augustss
47f7f552a2 Don't take xfers off the interrupt list if they are not on it yet. 2003-02-16 23:15:27 +00:00