Commit Graph

153544 Commits

Author SHA1 Message Date
pooka ab2346c4b0 add libpuffs 2006-11-09 01:31:11 +00:00
pooka b8a1eae019 initial documentation for the puffs library interface 2006-11-09 01:30:15 +00:00
pooka 095997aad1 initial documentation for the puffs message interface 2006-11-09 01:29:34 +00:00
scw 5a9e652d52 Build a gzboot image suitable for CP3100. 2006-11-09 00:35:32 +00:00
scw 0c2bb6eb97 Add CP3100 and CP3100_INSTALL to kernel/build sets. 2006-11-09 00:34:49 +00:00
scw 814254d821 Add an install kernel for CP3100. 2006-11-09 00:28:37 +00:00
scw 0d0c6d1a0c Note addition of Certance CP-3100 port (evbarm). 2006-11-08 23:51:03 +00:00
scw 5bfa580df1 Add support for the Certance CP-3100.
"The Certance CP3100 product family provides high-end disk-to-disk-to-tape
(D2D2T) functionality for small-to-medium businesses."

To software, the unit is very similar to the IQ80321 and IQ31244 eval
boards from Intel. As such, we share almost all of their code.

Onboard hardware:
 - IOP321 XScale CPU. Core clock is 600MHz.
 - 256MB SDRAM (not sure if that's true for all)
 - Four-port Intel i31244 SATA controller. One port is connected to the
   internal disk. The remaining three are available on the back-panel.
 - Dual GigE ports on the back panel, using an Intel i82546EB controller.
 - Two Symbios Logic 53c1010 SCSI controllers, one in host mode the other
   in target mode. Both SCSI busses are available on the back panel.
   Note that NetBSD does not support SCSI target mode.
 - 8MB of NOR Flash, containing a fairly vanilla Redboot together with
   a minimal compressed Linux image.
 - Some front-panel LEDS (not supported).
 - Serial console.

Contributed by Wasabi Systems, Inc.
2006-11-08 23:49:02 +00:00
scw d3089a454e If I80321_HPI_ENABLED is defined, add support for handling interrupts from
devices hooked up to the HPI pin.

HPIs cannot be masked at the interrupt controller; they can only be masked
by disabling IRQs in the XScale core. To deal with this, we tweak the
interrupt frame so that IRQs are disabled when the interrupt dispatcher
returns due to a masked HPI interrupt. IRQs will be re-enabled by a
subsequent splx(9).

Fortunately the only instance where HPI is used is for the console UART
on a couple of boards, so this hack does not adversely affect performance.

Contributed by Wasabi Systems.
2006-11-08 23:45:41 +00:00
christos 249933b899 if we are using ssp, use malloc instead of alloca. 2006-11-08 23:27:32 +00:00
christos 7734d80e4d Add the threaded version. 2006-11-08 23:25:54 +00:00
ad 1279365222 Fix some minor bugs and improve output slightly. 2006-11-08 23:12:57 +00:00
christos 97be580a50 add /usr/include/ssp 2006-11-08 22:43:34 +00:00
christos b9692a922e fix typo. 2006-11-08 22:07:23 +00:00
christos 5a7bf522f9 Turn on TARGET_LIBC_PROVIDES_SSP; next time someone regenerates them, it will
work fine; it is not worth chewing hours of cpu to rebuild those right now.
2006-11-08 22:03:19 +00:00
christos af0800f25f add a netbsd test for having stack protector in libc. 2006-11-08 22:01:36 +00:00
rpaulo 4081961b95 Backout half of previous by popular demand. 2006-11-08 21:18:13 +00:00
drochner 58bd20f660 if setcontext(2) returns, _exit(2) with a return code of -1 instead
of relying on a sensible return value
2006-11-08 21:16:40 +00:00
rpaulo 2313f534c1 regen 2006-11-08 21:03:35 +00:00
christos 3ad047d4fd descend into libssp 2006-11-08 21:02:10 +00:00
rpaulo 809c9d3540 Add AMD PCI-X IOAPIC. 2006-11-08 21:02:02 +00:00
christos 2da147ae0e add libssp regression tests. 2006-11-08 21:01:35 +00:00
christos e1e30f287e bump libc for ssp stuff. 2006-11-08 20:59:18 +00:00
christos 146343edd5 add ssp code and bump. 2006-11-08 20:58:23 +00:00
christos dc0c2709da Add libssp. 2006-11-08 20:52:39 +00:00
christos 3f7ee1da36 add ssp stuff. 2006-11-08 20:52:02 +00:00
drochner 97ffbcd858 cleanup unused stuff after hmac_* removal 2006-11-08 20:37:14 +00:00
drochner ac9d7f2faf -check for a NULL uc_link before calling setcontext(2); do a real exit(3)
instead with exit handlers and all that
-If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
 than relying on a sensible return value to use as exit code. Makes
 it less likely that an ucontext corruption goes unnoticed.
2006-11-08 20:28:03 +00:00
drochner b1af2cb9b9 -SUS says that a successful call to setcontext(2) does not return. This
implies that _UC_CPU must be set in the context passed. Check for this
 and return EINVAL if not; this gives a cheap test for corrupted
 ucontexts eg on a signal handler stack which would go unnoticed otherwise.
-Don't ckeck for NULL ucontext pointers explicitely. This is an error,
 except in the swapcontext() case where it can be easily caught in
 userland.
2006-11-08 20:18:32 +00:00
christos f499cd524a Add a BSD-licensed re-implementation of the gcc-4.1 libssp.
This adds bounds checking for the following functions:

    memset, fgets, gets, memcpy, memmove, memset, snprintf, sprintf, strcat,
    strcpy, strncat, strncpy, vsnprintf, vsprintf

This functionality is enabled by compiling with:

	gcc -I/usr/include/ssp -D_FORTIFY_SOURCE=<1|2> -lssp

Eventually gcc will provide -ffortify-source or something to automate this
[we hope :-)]
2006-11-08 19:52:11 +00:00
drochner 3f8c6dc981 while we are here, also print the interrupt disable bit
in VERBOSE/pcictl
2006-11-08 18:44:16 +00:00
christos f44d03be78 - add debugging to track nowarns
- make /*LINTED*/ take effect on unused functions
2006-11-08 18:31:15 +00:00
macallan 56f08e3ea2 mention macppc using accelerated framebuffer drivers now 2006-11-08 17:16:08 +00:00
rpaulo a70745bf73 Remove MATH_EMULATE.
Add DEBUG and LOCKDEBUG. This kernel config is suited for development.
2006-11-08 16:01:50 +00:00
pooka 7288f6ba9f update struct buf resid in strategy according to what was transferred.
seems like only nestiobuf complains when it wasn't updated ...
2006-11-08 11:49:36 +00:00
martti fc8a9d267d Regenerated. 2006-11-08 11:36:21 +00:00
martti 06061bc2fd Fix aligment. 2006-11-08 11:35:11 +00:00
martti 45ffbf91af List MEGARAID_SAS and MEGARAID_VERDE_ZCR as SYMBIOS products. 2006-11-08 11:32:45 +00:00
pooka 05310d3a05 give an estimation of the amount of free space 2006-11-08 11:25:29 +00:00
drochner 53056d0217 avoid magic number 2006-11-08 11:09:52 +00:00
macallan a6f7fc75a8 enable accelerated wsdisplay drivers 2006-11-08 05:48:43 +00:00
macallan 65d4544efe add control codes for virtual console switching
looks like I forgot to commit this ages ago...
2006-11-08 03:27:29 +00:00
dogcow 7a82abd9dc remove extraneous kauth check; since open already does the auth - and
mmap doesn't even get passed the lwp - the check here neither compiles
nor does anything terribly useful.
2006-11-08 02:53:31 +00:00
taca 4858a2daf1 OpenSSH 4.5/4.5p1 released. 2006-11-08 01:54:57 +00:00
macallan 4f70466a7c split ofb into one part that attaches right on kernel startup and one that
attaches to pci so we can build kernels with - say - machfb but without
ofb at pci.
2006-11-08 01:25:10 +00:00
elad 87d047b739 Replace securelevel checks with kauth(9) calls. 2006-11-08 00:17:09 +00:00
pooka da17507da9 adapt to new lookup signature 2006-11-07 22:11:17 +00:00
pooka 010234739c * support FAF (Fire-And-Forget) class operations
* adapt to new lookup
2006-11-07 22:10:53 +00:00
pooka b3bdf665dd attach to genfs & support page cache. most noticeable effect is
mmap and therefore execution of binaries starting to work, some
speed improvements with large file I/O also.  caching semantics
and error case handling most likely need revisiting.
2006-11-07 22:10:18 +00:00
dbj e2c201cff5 sort | uniq 2006-11-07 17:49:47 +00:00