Commit Graph

155968 Commits

Author SHA1 Message Date
christos
deecbf494d remove dup definition 2007-02-04 00:39:43 +00:00
christos
5058960df7 make this gdtoa friendly. 2007-02-04 00:39:19 +00:00
christos
fc500ab7fb Add macros for overflow detection 2007-02-03 23:48:21 +00:00
christos
016db3548e make this compile with -DSTATISTICS 2007-02-03 23:46:40 +00:00
christos
cb9daf8f10 cleanup:
- remove __P
	- remove unneeded casts
	- add _DIAGASSERT
	- add more diagnostics for integer overflow
	- fix size_t/int confusion
	- make debugging and statistics code compile
2007-02-03 23:46:09 +00:00
christos
980e6dca8f - knf, ansi, lint etc. 2007-02-03 23:04:04 +00:00
christos
72e430635f chech the correct fmt in the assertion. 2007-02-03 22:26:55 +00:00
christos
ecb577caf1 - errors to stderr
- improve some shell syntax: $() instead of `` and ! prog instead of else
  kludge
- use getopts.
- add usage
2007-02-03 20:59:34 +00:00
christos
fff7c9f19d misc cleanups. 2007-02-03 20:39:05 +00:00
christos
32b2149aa4 we need wcrtomb now too. 2007-02-03 19:55:51 +00:00
christos
288e2b48f6 add prototypes for the _ss functions. 2007-02-03 19:49:21 +00:00
christos
c8e7c68742 int/size_t changes 2007-02-03 18:09:20 +00:00
tsutsui
f7397aaa8c Make si at obio and si at vme on sun3 use bus_dma(9) for data xfer.
XXX1: Only si at vme on TME is tested.
XXX2: No info about DMA on si at sebuf. (bounce buffer required?)
2007-02-03 18:02:57 +00:00
tsutsui
277e6a5263 Prepare bus_dma(9) structures for sun3 obio devices. 2007-02-03 17:00:37 +00:00
tsutsui
5ec98f218f Add bus_space(9) and bus_dma(9) glue to sun3 MD VME attachment
to test these APIs on TME.

XXX I hope these sun3 MD VME stuff will be replaced by MI VME driver soon.
2007-02-03 16:58:08 +00:00
tsutsui
39bbf3e6c5 Implement bus_dmamap_load(9) and bus_dmamap_unload(9) for sun3. 2007-02-03 16:51:13 +00:00
ad
26d6ccf325 Document cv_has_waiters(). 2007-02-03 16:49:11 +00:00
christos
20b56f03ed make extended precision gdtoa friendly. 2007-02-03 16:44:45 +00:00
christos
818764fc7c some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
2007-02-03 16:44:02 +00:00
ad
00b8f6d201 - Require that cv_signal/cv_broadcast be called with the interlock held.
- Provide 'async' versions that don't need the interlock.
2007-02-03 16:39:53 +00:00
pooka
3f280a11a4 fstrans owner automatically gets a normal lock, don't need to lazy lock
pointed out by hannken
2007-02-03 16:29:05 +00:00
christos
3ab861054c make this compile with DIAGNOSTIC 2007-02-03 16:22:48 +00:00
christos
0e61db23eb Compile with DIAGNOSTIC 2007-02-03 16:17:15 +00:00
christos
b513fb7c0a make this compile with DIAGNOSTIC 2007-02-03 16:12:47 +00:00
tsutsui
3c39b23802 Fix botch in #ifdef DIAGNOSTIC. 2007-02-03 05:20:31 +00:00
tsutsui
b19c5b0bc7 Make esp and its dma on 3/80 use bus_dma(9).
XXX: Maybe we should consider to use MI sys/dev/ic/lsi64854.c.
2007-02-03 05:17:30 +00:00
tsutsui
8763f0bf0e Prepare bus_dma(9) structures for sun3x obio devices. 2007-02-03 05:14:38 +00:00
tsutsui
2fce94aa7d Implement bus_dmamap_load(9) and bus_dmamap_unload(9) for sun3x. 2007-02-03 05:13:58 +00:00
elad
d60f1f435f If Veriexec prevents indirect execution of the binary, in addition to just
blocking the mmap() if exec bit is requested, also strip exec bit from
maxprot for further mprotect() calls.

Okay joerg@.
2007-02-03 01:11:50 +00:00
christos
d228a772b3 enable wide doubles. 2007-02-03 00:28:56 +00:00
christos
f38f949967 use vfwprintf.c 2007-02-03 00:28:43 +00:00
christos
093145397b - merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
  efficiency in the vfprintf case.
2007-02-03 00:28:33 +00:00
christos
5d7be27437 the buffer len is called slen. 2007-02-03 00:27:52 +00:00
christos
cca9be70a3 protect buffer size from overflow. 2007-02-03 00:23:01 +00:00
christos
12287894d6 ext_int bit is no more. 2007-02-02 23:18:57 +00:00
christos
0449ecc079 since the int bit is merged, do the explicit math. 2007-02-02 23:14:09 +00:00
christos
efdcbc425e add constants used by gdtoa 2007-02-02 23:08:22 +00:00
christos
b5b1a9d57c Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
2007-02-02 23:07:44 +00:00
christos
113cee3dbe add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
2007-02-02 23:06:34 +00:00
christos
9ad6657285 add new prototypes. 2007-02-02 23:05:56 +00:00
christos
1634560e9d make this compile. 2007-02-02 23:05:41 +00:00
christos
482b8dd60c add long double and hex double support from freebsd. 2007-02-02 23:03:35 +00:00
christos
a12ac1f620 remove __SAFE 2007-02-02 23:00:53 +00:00
christos
aa781c37c2 Instead of abusing stdio to get a signal-safe version of sprintf, provide one. 2007-02-02 23:00:28 +00:00
christos
e903e46b14 deal with hex doubles. 2007-02-02 20:02:18 +00:00
mjf
118bbc15f5 Fix typo. 2007-02-02 19:35:59 +00:00
dogcow
14ae239c93 The screaming hordes have made their wishes known for a working MD5 checksum
file; as `cksum -m` is no longer functional, convert it to `cksum -a MD5`.
2007-02-02 16:11:05 +00:00
tsutsui
4f989cd028 KNF 2007-02-02 15:50:58 +00:00
christos
ca93cf9ea4 fix spello (from Anon Ymous) 2007-02-02 15:48:54 +00:00
vanhu
5374d6ac89 Fixed a check of NAT-T support in libipsec 2007-02-02 13:42:28 +00:00