Commit Graph

108098 Commits

Author SHA1 Message Date
kleink 4e0e5333ae Fix further printf format warnings for DEBUG, in the wake of daddr_t
having changed.
2003-01-25 23:00:09 +00:00
kleink 62ef5befab <sys/ucred.h> requires <sys/param.h> as a pre-requisite; suggested
by Martin Husemann.
2003-01-25 19:27:43 +00:00
jmmv b85005e4c0 Add missing ta=4.2BSD to the `a' partition of `floppy' entry.
Okay'ed by jdolecek.
2003-01-25 18:28:44 +00:00
tron 5067836b9e Use PRId64 instead of hard coding "%lld" to fix build problems under
LP64 ports.
2003-01-25 18:12:31 +00:00
tsutsui 2d9f30d305 Since sh--netbsdelf doesn't have leading underscore,
don't define __USER_LABEL_PREFIX__ as "_" in cpp.
Ok'ed by thorpej.
2003-01-25 17:35:53 +00:00
fvdl a138610cac The oldblks and newblks arrays are used to store direct copies of
on-disk block pointers, so they should be int32_t. Error found
by Izumi Tsutsui.
2003-01-25 16:40:28 +00:00
tsutsui 61924d6eac Use PRId64 from <machine/int_fmtio.h> in printf format for daddr_t.
(Eventually jazzio would be moved into MI place :-)
2003-01-25 15:43:11 +00:00
isaki 9bf4faf898 Make it compilable with 64bit daddr_t. 2003-01-25 14:13:46 +00:00
tron 63dda858c6 Fix printf() format strings problems caused by "daddr_t" change. 2003-01-25 12:50:38 +00:00
thorpej f57bacfc63 Add a couple more Promise ATA133 controllers. 2003-01-25 04:45:24 +00:00
tsutsui cce861a437 Make sure cache_sh[34]_op_*() functions actually inlined. 2003-01-25 04:21:01 +00:00
thorpej f4ddf46102 Back out unintentional commit. 2003-01-25 02:12:22 +00:00
thorpej fd5a840f3c Add support for ADI Engineering's "Big Red Head" i80200 evaluation
and development board, based around their BECC companion chip.  Despite
its name, the board can run in big- or little-endian mode (we currently
run only in the latter).
2003-01-25 02:00:15 +00:00
thorpej b1b164a859 Support for ADI Engineering's Big Endian Companion Chip for the
Intel i80200 XScale processor.  Despite its name, the BECC can
run in both big- and little-endian modes.
2003-01-25 01:57:17 +00:00
soren 15b88bc43f Oops, didn't mean to remove toor (just yet). 2003-01-25 01:14:03 +00:00
soren c552afcd61 Consistently with previous such changes, make daemon's default group 1(daemon)
rather than 31(guest). FreeBSD and OpenBSD have done the same thing.
2003-01-25 01:13:29 +00:00
nathanw 9ff1e2d385 Make pthread_barrier_wait() handle spurious wakeups from pthread__block()
by adding a generation number to the barrier structure and incrementing it
when the barrier fires.

XXX this is an ABI change for anything using barriers, but the library is
new enough and nothing in the tree uses barriers so I'm going to let it
slide. Using the private data pointer for a field that will always be present
would be excessive.
2003-01-25 00:47:05 +00:00
nathanw fe8e8dad4a More signal rearranging:
- Signal handlers now simply continue executing the current thread,
   rather than trying to put themselves back on the queue that they came
   from, which was rather fragile. As a result, all callers of
   pthread__block() must be prepared to handle spurious wakeups.

 - When a signal arrives for a thread that is blocked in the kernel,
   note this in another field in pthread_st and set a flag. Process the
   signal and set up the trampoline for the handler *after* the thread
   unblocks, so that both the trampoline and the returned state from
   the kernel are preserved.

 - Factor out some code into a pthread__deliver_signal() routine;
   the signal-taking code in pthread_sigmask() should be able to use this
   soon.

This is still gross, and there are still some terrible MP issues lurking here,
but progress crawls along.
2003-01-25 00:43:38 +00:00
nathanw 564fe117cc Make pthread_join() accomodate spurious wakeups from pthread__block(). 2003-01-25 00:37:01 +00:00
keihan a4c1e9c0ba Typos,
ntwo -> ntwoc
ntowc -> ntwoc

Reviewed by Christian Hopps.
2003-01-25 00:17:30 +00:00
thorpej fbea162b87 * Use gthr-posix.h if --enable-threads.
* If -pthread is specified, add -lpthread and -D_PTHREADS.

More thread support to come; this is just a start (sigh, it's
handled so much nicer in 3.3...).
2003-01-24 22:40:02 +00:00
manu 82a9c6faf0 Use per process emuldata for the thread id for now, but this will change
shortly. This makes hello world working again.
2003-01-24 22:35:43 +00:00
tsarna e4c4e3f3b9 "Obsolute" is a nonsklarkish English flutzpah... Replace it with "Absolute" 2003-01-24 22:21:43 +00:00
fvdl a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
manu cb771e3c64 Make the beast build again (but it is still probably broken) 2003-01-24 21:37:01 +00:00
kleink 87f0398e29 Fix inverted test in previous. (D'oh!) 2003-01-24 21:26:08 +00:00
pk a22484a1ea zs_shutdown: lower IPL before sleeping. Also note the fact that the
effectiveness of that very tsleep() call is dubious at best.
2003-01-24 20:46:45 +00:00
hubertf 8221d7ffdd Mention that the mount point for a remote swap file must exist as a directory.
Sanity checked by salo.
2003-01-24 19:48:52 +00:00
jdolecek 96125fbe64 fix typo in comment, and add (perhaps redundant) note that this depends
on file-system CODA
2003-01-24 18:51:53 +00:00
thorpej ae5c422a40 Regen; Tweak a Promise description. 2003-01-24 17:47:17 +00:00
thorpej de5fb86d32 Tweak a Promise description. 2003-01-24 17:46:51 +00:00
jdolecek 254ff213ae unlock pt_statelock _after_ changing pt_state, not before
problem found and fix suggested by Nick Hudson
2003-01-24 17:43:45 +00:00
nakayama 54e4cb1a6c fix kernel build error, such a configs w/o kbd, ms.
(approved by martin)
2003-01-24 16:54:34 +00:00
thorpej 9ba98c598b Add a pointer to p1003.1b semaphore data. 2003-01-24 16:24:44 +00:00
wiz e92b96aa79 grammar fix. 2003-01-24 13:08:22 +00:00
martti c7d6e073eb Add a new -a flag (automatically update files which have not been
locally modified). Patch provided by Sverre Froyen in a private mail,
slightly modified by me.
2003-01-24 13:06:06 +00:00
jmmv ada8ecf126 Add missing usr/libdata/lint/llib-lrt.ln file. Okay'ed by wiz. 2003-01-24 12:06:21 +00:00
augustss e06bdc7dcb Get rid of some debug stuff. 2003-01-24 11:55:19 +00:00
augustss d93f9bdaa1 Get rid of some old BAT nonsense. 2003-01-24 11:51:42 +00:00
wiz 44107fcf32 Add cygwin alias for pcansi. Okayed by jdc. 2003-01-24 10:24:09 +00:00
thorpej b3ffb6e4ab * Enable Ultra133 on the NVIDIA nForce 2.
* Make sure to test for PCI_VENDOR_AMD before testing for any
  AMD products.
2003-01-24 05:51:04 +00:00
thorpej fdedc91f87 Regen; add some more Promise products. 2003-01-24 05:34:25 +00:00
thorpej 5a31d135b0 Add some more Promise products. 2003-01-24 05:33:12 +00:00
thorpej b3b68a3ced Sort the Promise entries. 2003-01-24 05:18:56 +00:00
thorpej f6cc829138 Add support for the NVIDIA nForce ATA100 and nForce2 ATA133
IDE controllers, which are more-or-less compatible with the
AMD controllers.

XXX Need to determine the correct timing value for the nForce2
XXX at Ultra133, so we cap it at Ultra100, for now.
2003-01-24 04:53:13 +00:00
thorpej 34461a3ff9 Regen; add Nvidia nForce2 ATA133 IDE. 2003-01-24 03:16:08 +00:00
thorpej 8204d0458d Add Nvidia nForce2 ATA133 IDE product ID, and shuffle some
Nvidia entries around a little.
2003-01-24 03:15:04 +00:00
thorpej 1b3e5a4bd2 Note new librt. 2003-01-24 02:09:18 +00:00
thorpej 14dfb2cab0 Add LIBPTHREAD, LIBPTHREAD_DB, and LIBRT. 2003-01-24 02:06:37 +00:00
thorpej 63bdf713fd Regression test for p1003.1b semaphores as found in librt. 2003-01-24 01:56:47 +00:00