Commit Graph

193622 Commits

Author SHA1 Message Date
tsutsui
d52a314491 - add m68k/conf/std.m68k, which includes common standard options for m68k,
options EXEC_ELF32, EXEC_SCRIPTS, and CPU_IN_CKSUM for md cpu_in_cksum.c
- make all m68k ports include common arch/m68k/conf/std.m68k
  from MD std.${MACHINE}
2010-09-19 02:09:27 +00:00
jym
6dc46b923b Ansify and KNF all functions within kvm(3). No objection on current-users@.
Used as ground for u_long => vaddr_t/paddr_t replacements in kvm(3)
private functions.

Compile tested for all arches. See also:

http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html
2010-09-19 02:07:00 +00:00
tsutsui
4a614dd9e5 Remove MD m68k/in_cksum.c which is obsolete since cpu_in_cksum refactoring
in 2008 and now superseded by m68k/cpu_in_cksum.c.
2010-09-19 01:39:48 +00:00
tsutsui
fa0b9f38f6 Add m68k MD cpu_in_cksum.c.
Based on sys/netinet/cpu_in_cksum.c but just modified
to use traditional MD m68k/oc_cksum.s.

Makes ~5% improvements of ttcp(1) xfer rates on ATARI TT030 + SMC_TT.
2010-09-19 01:35:43 +00:00
tsutsui
564f296c0b Fix wrong checksum calculations of 32 bit unaligned two byte payloads.
Analyzed in PR port-mips/43882, but applied slightly different patch.
Also put some changes for readability.

Note netbsd-5 doesn't use this MD version but netbsd-4 needs a pullup.
(though it's unclear if it's really faster even on modern aggressive gcc4)
2010-09-18 16:43:50 +00:00
jakllsch
3f28b50a70 AMD publication 25759 rev 3.69 says that DisIOReqLock in NB_CFG is "bit 3".
They probably mean "bit 3" and not "the third bit" (or bit 2).
This change should prevent superfluous warnings of errata 89.
2010-09-18 15:49:25 +00:00
christos
92da7545e1 don't compile long double support for the havenots. 2010-09-17 20:39:39 +00:00
drochner
de41a05aef fix an obvious botch which made eg conjl(3) a no-op 2010-09-16 20:39:50 +00:00
christos
b354315033 unbreak readline history. 2010-09-16 20:08:51 +00:00
rmind
63012b51f1 NPF checkpoint:
- Add support for bi-directional NAT and redirection / port forwarding.
- Finish filtering on ICMP type/code and add filtering on TCP flags.
- Add support for TCP reset (RST) or ICMP destination unreachable on block.
- Fix a bunch of bugs; misc cleanup.
2010-09-16 04:53:27 +00:00
yamt
53cf9ce3be - remove a wrong _DIAGASSERT
- update comments
- whitespace
2010-09-16 02:38:50 +00:00
jym
b60c232a64 Use standard ELF types for ELF code, instead of paddr_t. paddr_t should
only be used for low level code, like virtual memory internals.
2010-09-16 00:26:49 +00:00
jym
b8a7885350 Use PRIxVADDR to print vaddr_t elements. Wrap lines. 2010-09-15 21:37:35 +00:00
wiz
0d8d67869e Remove trailing whitespace. 2010-09-15 18:40:27 +00:00
christos
98b923b685 commit long double SoC code from Stathis Kamperis 2010-09-15 16:12:05 +00:00
christos
e2a86dd3c7 Commit SoC long double support from Stathis Kamperis 2010-09-15 16:11:28 +00:00
yamt
f15acd14df remove RESTRICTIONS section, which seems unrelated to our implementation 2010-09-15 07:28:46 +00:00
wiz
bb6867a3bf Add missing letter, from Ryo HAYASAKA in PR 43880. 2010-09-15 06:52:33 +00:00
manu
e9a8a6acc0 - Use SOCK_DGRAM instead of SOCK_STREAM, as the filesystem seems to
assume datagram semantics: when using SOCK_STREAM, if perfused sends
frames faster than the filesystem consumes them, it will grab multiple
frames at once and discard anything beyond the first one. For now the
code can work both with SOCK_DGRAM and SOCK_STREAM, but SOCK_STREAM
support will probably have to be removed for the sake of readability.

- Remeber to sync parent directories when moving a node

- In debug output, display the requeue type (readdir, write, etc...)
2010-09-15 01:51:43 +00:00
ahoka
812c293086 add a note on IPL and spinning mutexes
TODO: explain when the IPL will be restored
2010-09-14 21:35:53 +00:00
jym
6c230fa88f Add ULL suffix to PG_NX when it is defined. 2010-09-14 21:34:02 +00:00
macallan
dcfeeda4d3 clear the screen when attaching, not when adding screens since that may
happen much later
while there, call vcons_replay_msgbuf()
2010-09-14 19:36:13 +00:00
macallan
852bc5b438 leave the screen description alone when we're not the console in order to
avoid a NULL deref later on ( which only happens on sparc64 for some reason )
While there, use VCONS_DONT_READ
2010-09-14 18:43:41 +00:00
macallan
4abeddc6aa don't muck with the screen description if we're not the console, for some
reason this leads to a NULL jump later on, at least on sparc64
should fix PR43873
2010-09-14 18:42:12 +00:00
macallan
dab970d65a always make sure we can access the framebuffer - having more than one wsdisplay
is perfectly reasonable these days
2010-09-14 18:28:18 +00:00
wiz
218cd6edd9 Remove trailing spaces, add a few serial commas. 2010-09-14 11:57:03 +00:00
kim
cd552cca7d Fix remaining references for npf.conf(8) to npf.conf(5) 2010-09-14 11:04:57 +00:00
macallan
714306e33c report lid open/close events to sysmon 2010-09-14 04:40:35 +00:00
macallan
0b888e557e save backlight level and turn it off on lid close, restore on lid open 2010-09-14 04:37:04 +00:00
macallan
51ce031b55 only mark battery status sensors valid if the battery is actually present 2010-09-14 02:45:25 +00:00
macallan
491cb04e7e support backlight control via wsconsctl 2010-09-14 02:11:06 +00:00
jmcneill
b86abf544c Add Conexant codec IDs 2010-09-13 22:37:02 +00:00
sjg
e7543dc43a tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing
unless USE_META is defined.
2010-09-13 21:31:59 +00:00
sjg
796c4b0282 We do not need filemon(9) to have a .meta file 2010-09-13 20:34:21 +00:00
sjg
c0dfab6508 Bump date 2010-09-13 16:32:00 +00:00
sjg
4db43f7e0c Add meta.c which implements "meta" mode for make.
In this mode, a .meta file is created for each target, capturing
the expanded commands used, any command output, and if filemon(9)
is available, a record of system calls which are of interest.
Not enabled unless USE_META=yes is set when building make.
Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).
2010-09-13 15:36:57 +00:00
drochner
11eacabe5a comment out an unused static function 2010-09-13 08:43:06 +00:00
drochner
a1f59518fb fix extern/static inconsistency 2010-09-13 08:42:04 +00:00
drochner
600c96fbb0 add a forward struct declaration for the PPS_SYNC case 2010-09-12 16:07:40 +00:00
drochner
29d1b2938d improve "const" consistency 2010-09-12 16:06:08 +00:00
drochner
bd39bacef7 avoid NULL dereference in error case 2010-09-12 16:04:57 +00:00
drochner
ebb3b30048 minimal ansification/constification 2010-09-12 16:03:39 +00:00
spz
e597134d90 releng has been on mollari for a while now. Also, add wiki 2010-09-12 05:00:21 +00:00
chs
e0ef945cee recent versions of linux (which we now claim to be) supply a BSD-style
d_type value in getdents() results, after the d_name field.
make our emulation do the same.  fixes part of PR 43695.
2010-09-11 20:53:04 +00:00
chs
590b90699b always supply an auxiliary vector for linux ELF processes.
static executables (such as newer versions of /sbin/ldconfig)
require this to work properly.  since static executables
also don't have a PT_PHDR entry, use the same heuristic as
linux does to provide a value for AT_PHDR in this case.
2010-09-11 20:49:28 +00:00
martin
92474b670c Query the raw partition at runtime 2010-09-11 16:03:41 +00:00
tsutsui
0e228a11be Build and install bootxx_ext2fs, primary boot for ext2fs.
Ext2fs doesn't have enough free space (it has only 1KB)
to store this primary loader, but we can put it into
an independent small 'boot' partition as NetBSD/hp300 does
if it's really necessary.

It could be a fun project to add smaller pre-primary loader
that loads ~8KB primary loader for ext2fs, but probably it's unlikely
because there is a functional wheel named GRUB for ext2fs.
2010-09-11 13:06:36 +00:00
tsutsui
eba63131ff Enable SUPPORT_EXT2FS. Tested on i386 that has root on ext2fs
with 128 byte and 256 byte inode sizes on QEMU.

Note for netbsd-5, this also requires HEAP_START=0x30000
as applied in rev 1.37, and this might also get another limit
on cdboot as described in PR install/42202.
2010-09-11 12:43:54 +00:00
skrll
07666b6356 Wrap long line. 2010-09-11 11:11:52 +00:00
agc
6bae07a6a8 Fix previous differently to avoid over-padding the base64 encoded output,
by being smarter in the decode stage.
2010-09-11 04:08:34 +00:00