Commit Graph

182353 Commits

Author SHA1 Message Date
joerg
974b291a6c Add popcount(3) and the long and long long version. Name is inspired by
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00
joerg
ed9dacacc0 Add HISTORY. 2009-07-21 12:40:52 +00:00
phx
b6cfe437c9 Some improvements based on the work of Adam Ciarcinski.
Adapted everything to integrate with current 5.99 source.
Added an Amiga PIC for interrupt handling.

Status:
A CSPPC machine probably boots into single user, but only few devices
will attach without problems (e.g. keyboard, serial, parallel, floppy disk,
the RTC, CC graphics, sometimes Ariande ethernet and A4000 IDE.
BPPC support is prepared, but unfinished and untested (I don't own a BPPC).

A problem which has to be solved is interrupt acknowledging, which may happen
twice. Once in the amiga drivers from sys/arch/amiga/dev and then in the PPC
specific pic_amiga.c.
2009-07-21 09:49:15 +00:00
skrll
9cbe4c8668 device_t/softc split
CFATTACH_DECL -> CFATTACH_DECL_NEW
struct device * -> device_t
struct cfdata * -> cfdata_t
Use aprint*
2009-07-21 07:35:55 +00:00
nisimura
0c9a82b249 protect C constructs from assembler source inclusion. 2009-07-21 07:08:57 +00:00
ahoka
b05ff95e20 Modify to support multibyte characters. 2009-07-21 01:35:02 +00:00
ahoka
d5fb12b51d Apply some ANSI and KNF. 2009-07-21 01:25:14 +00:00
ahoka
e48fb46a99 Change to support multibyte characters. 2009-07-21 01:12:55 +00:00
mrg
246985af64 do not need the postfix libraries here. 2009-07-21 01:06:02 +00:00
mrg
b17f780b18 do not need the postfix libraries. 2009-07-21 01:05:35 +00:00
mrg
f561334a77 rebuild all of these based upon build-makefiles version 1.7.
XXX: i have re-applied the by-hand patch to
XXX: compat/gnu/lib/crtstuff4/Makefile that ensures it finds the right
XXX: tconfig.h.
2009-07-21 01:00:36 +00:00
mrg
5d96b1e371 updates for compat builds. 2009-07-21 00:49:30 +00:00
mrg
44b898ae03 it's not quite upto libcrypto.so.6.1 yet... 2009-07-21 00:49:13 +00:00
mrg
1cb295e0ed what was usr.bin/ssh is now openssh/bin, not openssh/bin/ssh. 2009-07-21 00:48:29 +00:00
mrg
03f1126058 set SSHDIST to the new location. HI CHRISTOS! 2009-07-21 00:47:23 +00:00
pooka
92eb973615 don't need absolute paths for fs component names 2009-07-21 00:40:44 +00:00
pooka
d6d0aeb45d Make rump_lfs work again: load fs components dynamically instead
of trying to link them in on the command line and get pounded by
link set failage.
2009-07-21 00:37:25 +00:00
pooka
dd081aad70 the consumers expect the aiodone workqueue to be mpsafe. make it so. 2009-07-21 00:33:28 +00:00
mrg
c0b992d345 enter the right bin/ssh subdir for "configinstall".
HI CHRISTOS!
2009-07-21 00:28:35 +00:00
mrg
9ee8cf1e0a fix the generated from id.
don't generate some subdir makefiles.
2009-07-21 00:23:02 +00:00
pooka
80f30aa223 Can't see any reason to stat() the .so before dlopen(), so get rid
of that call.  uses normal ldlib paths now
2009-07-21 00:19:57 +00:00
mrg
5678e04508 bring this much closer to reality:
- add many subdirs of libs missing
- output a literal $NetBSD$ as well as the expanded version of this script
- special case a bunch of the external subdirs, since some of the library
  subdirs exist in toplevel directory, not the "lib" directory
2009-07-21 00:12:00 +00:00
christos
e97383ebc1 Don't lets this linger around forever. Causes hidden bugs. 2009-07-20 22:55:47 +00:00
christos
00bd3af563 ansi prototypes for yyinput. 2009-07-20 21:13:28 +00:00
christos
1e5d85413c moduli moved with openssh 2009-07-20 21:03:42 +00:00
christos
81908d00ad fix for new openssl 2009-07-20 20:41:52 +00:00
christos
d7ed66ca45 make tests compile! 2009-07-20 20:41:05 +00:00
christos
d424491302 reference the regular Makefile directly instead of copying it. 2009-07-20 20:19:48 +00:00
christos
9d77fb1cda use the new ssh 2009-07-20 19:59:22 +00:00
dyoung
13f97f0e48 In ipmi_match(), initialize the condition variable sc_cmd_sleep.
Fixes a bug in previous, exposed by

# drvctl -d ipmi0
# drvctl -r -a ipmibus mainbus0
*lockdebug panic here*
2009-07-20 19:25:07 +00:00
dyoung
0c985f2dad Overhaul synchronization in ipmi(4): synchronize all access to
device registers with a mutex.  Convert tsleep/wakeup calls to
cv_wait/cv_signal.

Do not repeatedly malloc/free tiny buffers for sending/receiving
commands, but reserve a command buffer in the softc.

Tickle the watchdog in the sensors-refreshing thread.

I am fairly certain that after the device is attached, every register
access happens in the sensors-refreshing thread.  Moreover, no
software interrupt touches any register, now.  So I may get rid of
the mutex that protects register accesses, sc_cmd_mtx.
2009-07-20 19:11:30 +00:00
joerg
ccd4c6e001 Use __constfunc instead of __attribute__((__const__)). 2009-07-20 18:45:27 +00:00
christos
2ba3b8f193 constify for new openssl 2009-07-20 18:44:09 +00:00
joerg
7afbfeabf4 Use __RCSID. 2009-07-20 18:24:01 +00:00
pooka
9d8db640e4 describe & attach raidframe rump kernel component 2009-07-20 18:11:37 +00:00
pooka
eee912bc25 Add cgd rump kernel component. 2009-07-20 18:09:20 +00:00
pooka
28631b61bf device subroutines and autoconfig support for rump. work in progress. 2009-07-20 18:04:13 +00:00
pooka
d0095f0917 add crypto support for rump 2009-07-20 18:03:26 +00:00
christos
cbeabf798d use new openssh tree 2009-07-20 18:01:41 +00:00
joerg
55df17bdb2 Add __constfunc and explain how it differs from __pure. 2009-07-20 17:46:04 +00:00
christos
71cfba1556 ssh has moved (a long time ago) 2009-07-20 17:39:01 +00:00
christos
6a7d49166f ssh has moved 2009-07-20 17:35:05 +00:00
christos
34af4cdada openssl has moved 2009-07-20 17:34:41 +00:00
christos
75efea6592 bump libcrypto and friends; OpenSSL abi change: do_cipher last argument
changed from u_int to size_t. Affects _LP64 only.
2009-07-20 17:30:52 +00:00
christos
8a00156352 use the proper libcrypto 2009-07-20 17:28:51 +00:00
tsutsui
40fb8fb85b - use CFATTACH_DECL_NEW()
- include "ioconf.h" for declaration of struct cfdriver.
2009-07-20 17:22:28 +00:00
tsutsui
c73aa246f1 Use CFATTACH_DECL_NEW(). (no softc) 2009-07-20 17:21:31 +00:00
christos
badcaee3ff constify ciphers per new openssl 2009-07-20 17:17:56 +00:00
pooka
fd1eba5f43 realloc works much better if it actually uses realloc instead of malloc 2009-07-20 17:12:43 +00:00
tsutsui
8a66a9540e KNF, ANSIfy, and misc cosmetics. 2009-07-20 17:05:13 +00:00