Commit Graph

182365 Commits

Author SHA1 Message Date
joerg
11e383c9e8 Include limits.h. 2009-07-21 17:37:51 +00:00
joerg
88ee985652 Don't redefine uint16_t and uint8_t, just use the system includes. 2009-07-21 17:35:17 +00:00
joerg
cb19415914 Make the constant u_longlong too, lint is just too stupid... 2009-07-21 17:14:12 +00:00
joerg
ebf8c87cf8 Some parts of gcc fail with the direct include of sys/inttypes.h, so
fall back to using sys/types.h like stdlib.h does.
2009-07-21 16:27:54 +00:00
joerg
9a4b5deb76 Add explicit casts to make lint happy. 2009-07-21 16:10:48 +00:00
dyoung
57ba504b86 device_t/softc split. Compiled, but never run. 2009-07-21 16:04:16 +00:00
tsutsui
5e279a4e0f No need to clear BSS in kernel itself if there is valid bootinfo,
i.e. it's loaded by our native bootloader.
2009-07-21 15:10:39 +00:00
joerg
0578c2ad0f Move popcount et al to src/common and add popcount32/popcount64.
Requested by rmind@. MD should now override popcount32/popcount64 and
provide the aliases as fitting.
2009-07-21 14:55:32 +00:00
tsutsui
e593aba25a Fix an #ifdef botch in rev 1.214 that causes
[ Kernel symbol table invalid! ] message at boot,
which means no ksyms(4) support even on GENERIC kernel.

Should be pulled up to netbsd-4 and netbsd-5.
2009-07-21 14:26:48 +00:00
njoly
f70dbee979 +mount_nilfs.debug 2009-07-21 14:18:50 +00:00
wiz
02079c4a1c Xref popcount(3). 2009-07-21 13:22:15 +00:00
wiz
345d7916c5 Fix typo, add comma in enumeration. 2009-07-21 13:21:41 +00:00
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