Commit Graph

213385 Commits

Author SHA1 Message Date
dholland
26b6cbe8db Fix typo, noticed by stu314 on freenode. 2012-09-15 18:03:42 +00:00
jdf
339b2058bc Add Spanish translations for sysinst's new configuration menu, plus adding a few
that were left previously.
Translation provided by jmmv.
2012-09-15 17:56:28 +00:00
plunky
19ea14f457 does not need -I${NETBSDSRCDIR}/sys/dist/ipf here, the include files
are installed in /usr/include/netinet
2012-09-15 17:46:25 +00:00
plunky
faaf3691d2 does not need -I${NETBSDSRCDIR}/sys/dist/ipf here, the files are
installed in /usr/include/netinet
2012-09-15 17:45:35 +00:00
plunky
72f78fcb94 reinstate "Update ftp-proxy for changes to ipnat_t" from Darren Reed 2012-09-15 17:42:43 +00:00
plunky
69b4eb723b install header files from IPF 5.1.2 (sys/external/bsd/ipf) instead of
older IPF (sys/dist/ipf).

This adds ipf_rb.h
2012-09-15 17:41:59 +00:00
plunky
2bcdfeae54 install example rules from the 5.1.2 distribution in external/bsd/ipf/dist
rather than the old one..  "mediaone" does not seem to exist though, so
mark it obsolete
2012-09-15 17:33:27 +00:00
pooka
bb49dc5937 In the "interlock" case (where the scheduler lock is used as the condvar
lock), we need to take the CPU interlock before releasing the CPU.
Otherwise other threads can be scheduled before we get the interlock,
leading to e.g. missed condvar wakeups.  This affected only "locks_up.c"
locking (nomen est omen?).

Also, remove various __predicts since they don't have a positive
performance impact in any setup.
2012-09-15 17:15:01 +00:00
plunky
80f5e4f0af the result of the construct
#define FOO	defined(BAR)

#if FOO
 [conditional code]
#endif

is "undefined", according to C99 6.10.1 note 4. So, change code like
that to use the following paradigm

#if defined(BAR)
#define FOO	1
#else
#define FOO	0
#endif

#if FOO
 [conditional code]
#endif
2012-09-15 16:56:05 +00:00
plunky
baa3f70feb correct spelling of file to clean 2012-09-15 16:22:58 +00:00
matt
76a03311f2 #include <sys/atomic.h> 2012-09-15 06:25:47 +00:00
kiyohara
2fcc3f0a20 Add malo@pcmcia. 2012-09-15 06:13:43 +00:00
matt
0378db1171 Add __HAVE_ATOMIC64_OPS and __HAVE_PCI_CONF_HOOK 2012-09-15 06:10:50 +00:00
matt
03dd36c2d1 Add some PCI devices 2012-09-15 06:10:13 +00:00
rmind
1e84067639 - Manage anonymous UVM object reference count with atomic ops.
- Fix an old bug of possible lock against oneself (uao_detach_locked() is
  called from uao_swap_off() with uao_list_lock acquired).  Also removes
  the try-lock dance in uao_swap_off(), since the lock order changes.
2012-09-14 22:20:50 +00:00
rmind
8c26068070 - Describe uvm_aobj and the lock order.
- Remove unnecessary uao_dropswap_range1() wrapper.
- KNF.  Sprinkle some __cacheline_aligned.
2012-09-14 18:56:15 +00:00
pooka
8b5f6f3669 Do not assume that O_FOO flags have matching values in the rump kernel
and hypervisor.
2012-09-14 16:29:21 +00:00
joerg
c4eabd7bd6 More __dead 2012-09-14 15:37:03 +00:00
joerg
af71fc1536 Fix GCC to correctly implement the i386 psABI on NetBSD.
This consists of two parts:
- for NetBSD/i386 and NetBSD/AMD64 with -m32, use a default stack
  alignment of 23bit as specified by the ABI
- ensure that double and long long variables on the stack are by default
  only aligned to 32bit, if there is nothing else in the function
  needing a larger stack alignment

The combination ensures that SSE variables on the stack trigger the
realignment logic, but just using double or long long doesn't.
2012-09-14 13:00:01 +00:00
matt
894fca2713 Beginnings of PCI support. Interrupts still need to be done. 2012-09-14 04:53:58 +00:00
matt
5187e69fd3 Fix CFG_ADDR_REG 2012-09-14 04:52:34 +00:00
matt
fbf46fbaf0 Only fetch savecode if scp is word aligned (prevents recursive ddb faults). 2012-09-14 03:58:47 +00:00
matt
8697d82684 Verify the source isn't a dummy source. 2012-09-14 03:52:50 +00:00
matt
0a59566020 Set dv_private, use a9tmr_private. 2012-09-14 03:52:19 +00:00
matt
1e73a414de Add L2 cache flush routines. (not yet enabled). 2012-09-14 03:51:01 +00:00
joerg
ed602fb487 Don't use const foo const as type, one const is enough. 2012-09-13 21:44:49 +00:00
joerg
69d9b49983 Workaround infrastructure bug where additional rpath flags are added for
/lib, resulting in linker warnings for the compat case.
2012-09-13 21:13:34 +00:00
macallan
442b3b690c make video modes work that need a screen width which isn't directly supported
by the rendering engine - just use the next higher supported stride
2012-09-13 21:12:40 +00:00
joerg
3a9c89f51f Mark npf_session_worker as __dead. 2012-09-13 21:09:36 +00:00
martin
9851af6be6 npftest only is build with dynamic libraries 2012-09-13 21:05:17 +00:00
martin
5a79cb1f57 Do not build npftest without shared libraries - it can't work. 2012-09-13 21:02:50 +00:00
christos
f9c0aa05f4 Don't fail if we don't have a current_parsed_root, makes:
'echo version | cvs server'
work again.
2012-09-13 17:45:07 +00:00
pooka
97fc939fe6 Rename structure members to make the code compile in environments
where "linux" is #defined.
2012-09-13 13:59:33 +00:00
nonaka
937cefb281 regen. 2012-09-13 12:16:47 +00:00
nonaka
ffaa81eddb Added ALTERA EP4CGX15BF14C8N entry. 2012-09-13 12:11:06 +00:00
martin
963ce3eec6 Adapt for _UC_TLSBASE 2012-09-13 11:53:45 +00:00
martin
d8e9a75f44 Adapt for _UC_TLSBASE addition 2012-09-13 11:49:16 +00:00
martin
25aaf6211d Fix register usage 2012-09-13 11:47:46 +00:00
wiz
2ea831cdd8 Fix typo in syslog message.
From Edgar Fuß in PR 46950.
2012-09-13 11:09:41 +00:00
spz
a92a2633d3 apply fix for CVE-2012-4244 from upstream
upstream changelog:
          --- 9.9.1-P3 released ---

   3364.  [security]      Named could die on specially crafted record.
                          [RT #30416]
2012-09-13 05:32:07 +00:00
macallan
c79b785a15 add mode setting support
While there, don't pretend to support the Permedia2 non-V - I don't have the
hardware and it has never been tested in the first place. The only hardware
this has been tested on is a TechSource Raptor GFX 8P / Sun PGX32 which
happens to be a Permedia2V with Sun firmware.
2012-09-13 02:09:00 +00:00
matt
6e8da97cc9 Correct copyright/fix comments. 2012-09-13 00:36:12 +00:00
matt
2ffc59762f Make sure the handler addresses are 32-bit aligned. 2012-09-12 23:06:15 +00:00
rjs
5abdc4ce9a Allow build with MKRUMP=no. 2012-09-12 19:20:37 +00:00
matt
56a54cbe85 Fix bas code, use ldr 2012-09-12 18:23:33 +00:00
martin
9cf2fc91c7 Fix printf format 2012-09-12 16:26:02 +00:00
matt
11561450f1 N32 uses dadd instructions to manipulate stack (actually, all ABIs except
O32 use dadd).
2012-09-12 15:09:49 +00:00
matt
426a76190c Only copy the ucontext_t in pthread_setcontext if _UC_TLSBASE is set.
Conditionalize the test on _UC_TLSBASE being defined.
2012-09-12 14:55:48 +00:00
manu
eed5245297 Fix the build, _UC_UNIQUE has been renamed _UC_TLSBASE 2012-09-12 14:13:43 +00:00
martin
18e375f3bb Set list changes for npftest binary and npf tests 2012-09-12 14:07:51 +00:00