Commit Graph

74252 Commits

Author SHA1 Message Date
pk cf53c74834 * Apply proper cast for 32 -> 64 bit pointer argument conversion.
* Since probeget() isn't geared up to deal with _arbitrary_ memory fault
  types (and doesn't work at all when called from an interrupt context),
  add explicit sanity checks on a stack frame's contents before use
  (XXX - needs revisiting).
2001-01-03 15:33:34 +00:00
itojun 00fbe713e7 remove #if 0'ed portion 2001-01-03 15:26:17 +00:00
lukem 2e9d6ac8c1 sprinkle in _DIAGASSERT() as appropriate 2001-01-03 15:23:26 +00:00
itojun 4469b35a09 retain empty "compile" directory 2001-01-03 15:22:14 +00:00
bouyer 286f4f934f Add a 'flag' member to struct puc_attach_args and struct port. For
PUC_PORT_TYPE_COM, use it to store the clock frequency (with 8 lower bits
to 0, used for real flags if needed).
Update all descriptions to set flags to 0 for LPT or COM_FREQ for COM.
Add support for the VScom PCI-800H 8 port serial adapter (which uses
a 14.7456 Mhz crystal instead of the standart 1.8432Mhz :)
XXX now that we can pass other frequency than COM_FREQ, the VScom PCI-800
entry could probably be updated to DTRT - does anyone have one ?
2001-01-03 15:13:15 +00:00
lukem 61017941ab remove register 2001-01-03 14:33:02 +00:00
mjl 73ef471d4f Un-__P and ANSIfy 2001-01-03 14:32:40 +00:00
lukem 5ba790cb50 sprinkle in _DIAGASSERT() as appropriate 2001-01-03 14:29:36 +00:00
mjl 0c55b7011c Sync usage w/ options, remove bogus cast. 2001-01-03 14:29:24 +00:00
lukem b43b77ea9c sort 2001-01-03 13:39:02 +00:00
lukem 065b5b4839 add _DIAGASSERT.{3,0} 2001-01-03 13:36:08 +00:00
lukem 9661e3aa77 add LIBC_DIAGASSERT and MALLOC_OPTIONS 2001-01-03 13:35:11 +00:00
lukem 77d909536c remove unnecessary duplication 2001-01-03 13:32:33 +00:00
lukem b206a768a3 add manual page for _DIAGASSERT(3) 2001-01-03 13:29:59 +00:00
mjl e1d9ba796d un__Pify, ANSIfy and constify. 2001-01-03 13:25:11 +00:00
mjl a640361563 /dev -> _PATH_DEV 2001-01-03 13:14:26 +00:00
lukem aa330a1e25 * Change __diagassert13() so that by default it only syslogs the error (it
used to syslog and also send to stderr).

  This behaviour can be changed by setting $LIBC_DIAGASSERT to a
  string containing one or more of the following letters:
	a	abort() after syslog and/or print to stderr
	A	opposite of a
	e	print assertion message to stderr
	E	opposite of e
	l	log assertion message to syslog
	L	opposite of l

  This allows per-process control of the _DIAGASSERT() behaviour (e.g,
  if you want to abort() after the assertion is raised) by modifying the
  environment before starting the process.

  Note that __DIAGASSERT() is still a no-op unless libc is compiled
  with -D_DIAGNOSTIC.

* Implement __assert()/__diagassert() by calling __assert13()/__diagassert13()
  with a function of NULL, reducing unnecessary code duplication
2001-01-03 12:44:53 +00:00
mjl 6c2663f7dd Fix possible buffer overruns. From OpenBSD, but without breaking stuff. 2001-01-03 12:41:00 +00:00
takemura c5fd828440 replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
2001-01-03 10:08:55 +00:00
itojun 9857da78ba s/make/${MAKE}/ 2001-01-03 08:43:05 +00:00
lukem 39de8f8975 improve readability 2001-01-03 07:50:54 +00:00
enami 0cd4f6f4aa Test read(2) failure by read(..., sizeof(n)) != sizeof(n) instead of
< sizeof(n) to avoid unwanted type promotion.
2001-01-03 06:57:57 +00:00
enami a48aa06c73 Kill whitespace at the end of line. 2001-01-03 06:55:30 +00:00
tron a9fb04248b Correct comment behind version number. 2001-01-02 23:35:56 +00:00
augustss c2b9d052ba Cosmetics. 2001-01-02 23:08:54 +00:00
tron 0ce4a9a0de Use highest bit of minor as an extra bit for the partition number to
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)
2001-01-02 23:06:54 +00:00
augustss 3ea054452a Add placeholder for firmware. 2001-01-02 22:38:51 +00:00
augustss 2b0533e324 Add uyap. 2001-01-02 22:34:25 +00:00
augustss 627c81d365 Add uyap(4) man page. 2001-01-02 22:32:28 +00:00
augustss 0e9ef4adc0 Forgotten commit for EZ-USB loader. 2001-01-02 22:24:00 +00:00
joda 7e74657e37 use gzip instead of compress 2001-01-02 21:39:37 +00:00
matthias 4cefdbee45 make sendsig/sigreturn work with p_sigctx. 2001-01-02 19:16:34 +00:00
augustss 32e4d7004e Add a transient driver for the YAP phone that downloads firmware into
the EZ-USB chip.  After downloading the firmware the device detaches
and then reattaches as a composite device (audio + HID).

XXX For now there is no firmware committed since the vendor (Silicon
XXX Portals) has not yet agreed that we can redistribute their firmware.
2001-01-02 18:52:44 +00:00
augustss 5b86e8bfa8 Add subroutines to download firmware into Cypress (formerly Anchor)
EZ-USB chips.
2001-01-02 18:49:56 +00:00
wiz 5c594236a9 Note that sha1 has been there since 1.4. 2001-01-02 16:16:48 +00:00
simonb 0a76fbb1e6 Another object file format reference for hp300. 2001-01-02 12:30:14 +00:00
simonb f823c0808d Add hp300 to the increasingly ugly `Compute toolchain' test. 2001-01-02 12:22:39 +00:00
itojun 656dac34b5 wording (correct?) 2001-01-02 11:27:45 +00:00
itojun 11f22d503c comma at EOL -> period 2001-01-02 11:26:23 +00:00
kleink 2776fd1430 Fix grammar nits, and update the STANDARDS section. 2001-01-02 11:24:39 +00:00
kleink 20a43da197 C99: add new parameters int_p_cs_precedes, int_n_cs_precedes,
int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn and
int_n_sign_posn to monetary locale information.
2001-01-02 10:53:24 +00:00
augustss f586756bcf Regen. 2001-01-02 09:53:16 +00:00
augustss d3fd188459 Add a new TI hub chip. 2001-01-02 09:52:55 +00:00
itojun f2b75fc51d sync with kame: NULL != 0 2001-01-02 05:08:43 +00:00
simonb 15f972c29b Switch NetBSD/hp300's OBJECT_FMT to ELF 2001-01-02 04:34:37 +00:00
matt cb70721fea Improve some of the DImode support. Add/improve a bunch more peepholes.
Generate smaller/faster code in general.
2001-01-02 04:33:40 +00:00
simonb eaf4f43227 Add ELF support.
Thanks to Steve Woodford for his help!
2001-01-02 04:28:37 +00:00
simonb 472a75b08f Convert both bootblocks and mkboot to use libsa's loadfile(), and make
both ELF aware.
2001-01-02 04:14:33 +00:00
matt 4622cfafe0 Redefine the memset/memmove/bcopy/bzero/memset macros to use more agressive
constraints in their inline asm.  Gcc generates much better code now.
2001-01-02 04:03:42 +00:00
lukem 834e92eedc Bump the field width of `K to go' from 6 to 8; some systems have more
than 999999 KB of RAM... (this will suffice until it's common to have
~ 100 GB of RAM :)
2001-01-02 00:29:37 +00:00