Commit Graph

212798 Commits

Author SHA1 Message Date
reinoud
a69a1c78e1 Improve support for transmit fifo support for plcom.
As Nick, Michiel and I concluded this driver needs a big overhaul since its
logic is modelled on the standard com.c driver which doesn't have the plcom's
treshold interrupt at al.

On Nicks request, the HW FIFO support hasn't been enabled by default on the
RPi though.

Tested with the RPi.
2012-08-12 10:13:17 +00:00
nonaka
f1810fa28a fix RCSID. 2012-08-12 08:59:58 +00:00
christos
0f892d675b add cast. 2012-08-12 07:22:24 +00:00
christos
97b3f8422e - make the append function to not append past the end of the string
- use the append function some more
2012-08-12 06:16:51 +00:00
matt
c58ada7b56 Rework VFP support to use PCU.
Add emulation of instruction which save/restore the VFP FPSCR.
Add a sysarch hook to VFP FPSCR manipulation.

[The emulation will be used by libc to store/fetch exception modes and
rounding mode on a per-thread basis.]
2012-08-12 05:05:47 +00:00
rmind
63f44833ba - Extend npftest: add ruleset inspection testing from the config generated
by npfctl debug functionality.  Auto-create npftest interfaces for this.
- NPF sessions: combine protocol and interface into a separate substructure,
  share between the entries and thus fix the handling of them.  Constify.
- npftest: add regression tests for NAT policies.
- npf_build_nat: simplify and fix bi-NAT regression.
- Bump yacc stack size for npfctl.
2012-08-12 03:35:13 +00:00
manu
519089c8d9 libpuffs and libp2k both use the cookie to different structure, which now
leads to struct p2k_node corruption now that libpuffs used pn_nlookup field
in struct puffs_node to avoid race conditions.

Attempt to fix that by adding a struct puffs_node at the beginning of struct
p2k_node. This seems to fix kern/46734
2012-08-12 02:51:18 +00:00
mrg
99a54d3479 pay attention to -pie: link crt{begin,end}S.o.
this fixes -fpie on sparc and sparc64, and probably others.
2012-08-12 00:01:50 +00:00
mrg
924aafb1e9 minor correction to some comments. 2012-08-11 21:54:18 +00:00
mrg
2171cc30fb add an XXXSMP comment. 2012-08-11 21:48:30 +00:00
wiz
ae90bf6a58 Bug fix for PR 46733:
> makemandb always reports the same number for "Total Number of new or
 > updated pages enountered" and "Total number of (hard or symbolic)
 > links found".

Patch from Abhinav Upadhyay.
2012-08-11 21:07:13 +00:00
kardel
b3d86d3e3a fix some fallout from append correction 2012-08-11 20:09:08 +00:00
tsutsui
5bf8f36aa4 Poor sun2 has only 14MB KVA space so reduce NKMEMPAGES_MIN_DEFAULT and
NKMEMPAGES_MAX_DEFAULT values accordingly.

XXX: netbsd-6 GENERIC still gets "panic: pool_get: kmem-4096: page empty"
2012-08-11 17:03:26 +00:00
matt
135413e17a Full expand FPEXC and FPSCR definitions 2012-08-11 16:23:53 +00:00
matt
468b3526df #include <stddef.h> 2012-08-11 16:21:26 +00:00
skrll
c3746f757b Grab CRTSTUFF_T_CFLAGS_S.
Gentlement start your mknative runs.
2012-08-11 16:05:01 +00:00
tsutsui
f85debeceb Poor sun3 (but not sun3x) has only 31MB KVM address space,
so reduce NKMEMPAGES_MAX_DEFAULT from 64MB to 16MB.
Fixes "panic: ubc_init: failed to map ubc_object" on
TME emulating 3/120 with >16MB RAM.

Should be pulled up to netbsd-6.
2012-08-11 14:35:33 +00:00
joerg
cc216625a3 Remove two lines that slipped through. 2012-08-11 13:27:55 +00:00
matt
94f921d6a9 Update copyright year. 2012-08-11 07:26:25 +00:00
matt
7f3cb3d165 Replace copyright since it now has new contents 2012-08-11 07:25:44 +00:00
matt
dd044a189e Fix typo. 2012-08-11 07:25:13 +00:00
matt
33c1aaf828 Use oabi instead of atpcs32 2012-08-11 07:18:53 +00:00
riastradh
5ca19b0028 Use as large a packet size as the ftdi endpoint specifies.
Now I can read from my beaglebone!
2012-08-11 07:09:09 +00:00
matt
6ab683522c Make sure to advance the PC after emulating an instruction. 2012-08-11 07:05:57 +00:00
nakayama
dd6c46f6ab Fix MKRUMP=no build. 2012-08-11 03:19:48 +00:00
matt
c135af1c81 USE_COMPILERCRTSTUFF=no support for arm
This passes all the lib/csu atf tests.
2012-08-11 01:33:36 +00:00
tsutsui
7ac84ff9ed Sprinkle extern to appease gcc -fno-common. 2012-08-11 01:21:04 +00:00
manu
ff88f232cf Missing bit in previous commit (PUFFS_KFLAG_CACHE_DOTDOT option to avoid
looking up ..)
2012-08-11 01:10:11 +00:00
wiz
aceedc0215 Use more markup. New sentence, new line. Bump date for previous. 2012-08-10 21:00:45 +00:00
matt
3c48897f6d Add mount_tmpfs 2012-08-10 20:17:09 +00:00
tsutsui
390f4a1178 Appease gcc -fno-common:
- remove physmem from machdep.c since it's initialized in atari_init.c
 - declare I/O address space variables properly
Compile test only.  (currenty my TT030 is busy on pkgsrc builds)
2012-08-10 17:43:32 +00:00
joerg
cbb088a668 Clang supports -Wno-stack-protector. 2012-08-10 17:12:11 +00:00
manu
2a9a80bb36 Add PUFFS_KFLAG_CACHE_DOTDOT so that vnodes hold a reference on their
parent, keeping them active, and allowing to lookup .. without sending
a request to the filesystem.

Enable the featuure for perfused, as this is how FUSE works.
2012-08-10 16:49:35 +00:00
bouyer
bd09f43a07 Remove leftover comment. 2012-08-10 16:40:40 +00:00
martin
78879908ec Slightly simplify and make position independend.
Part of fixing PR port-sparc64/46724.
2012-08-10 16:37:31 +00:00
bouyer
8539c8f3cb Work around some SATA PMP issues in some AHCI controllers by either
disabling PMP entirely, or special handling in the reset function.
Controller list from linux and FreeBSD.
2012-08-10 16:35:00 +00:00
joerg
fabb48a37a Remove effectively tautological condition. 2012-08-10 16:34:23 +00:00
joerg
3190841d4b Apply options for all compilers. 2012-08-10 16:33:41 +00:00
bouyer
95d3e6608a Regen: add some PCI AHCI controllers. 2012-08-10 16:24:43 +00:00
bouyer
6618a3a797 Add some PCI AHCI controllers, from linux 2012-08-10 16:24:17 +00:00
joerg
4f18a444b9 Make GCC entries optional. 2012-08-10 16:22:31 +00:00
joerg
951d5f4e22 No need to check for MKRUMP twice. 2012-08-10 16:18:51 +00:00
joerg
2ce6b7d32d Decouple binutils build from HAVE_GCC. Merge common fragments of
HAVE_GCC and HAVE_PCC.
2012-08-10 16:13:36 +00:00
joerg
6ffdafe0ea Don't set HAVE_GCC by default, if MKGCC is disabled. 2012-08-10 16:12:20 +00:00
joerg
8b623749df Make linker warnings fatal by default for Clang, even if not building
GCC.
2012-08-10 16:11:43 +00:00
joerg
b38acf62c6 Decouple Clang from HAVE_GCC. 2012-08-10 16:10:29 +00:00
joerg
c14f2d4ef8 Deal with optional HAVE_GCC. 2012-08-10 16:05:26 +00:00
joerg
f4f2339ab8 Use LIBISCXX. 2012-08-10 16:04:28 +00:00
manu
9bd2034d93 Missing bit in previous commit (prevent race between create|mknod|mkdir|symlink
and reclaim)
2012-08-10 14:52:56 +00:00
tsutsui
254bb11f96 Move cn_tab initialization from late cpu_startup(9) to
early _bootstrap() in locore2.c.
Tested on TME emulating 2/120.
2012-08-10 14:52:26 +00:00