dsl
7c166415e7
Remove the #include <sys/user.h> from all of libkvm.
...
sys/user.h is a stub that just #includes sys/pcb.h.
There are no 'struct pcb' anywhere in here, so I'm extremely doubtful
any of the builds will fail.
OTOH it might be relying on a header that pcb.h includes.
In any case i386 and amd64 build.
2014-02-19 20:21:22 +00:00
dsl
f00ab5270c
Add all: and dependall: tatgets so that sqlite3.pc actually gets built.
2014-02-19 19:29:33 +00:00
maxv
c22b5e2a12
We need VMCMDs for a binary and its interpreter, so make sure we have
...
at least one VMCMD. This also prevents the kernel from using an
uninitialized pointer as entry point for the execution.
From me and Christos
ok christos@
2014-02-19 15:23:20 +00:00
tsutsui
7ca3eda1e9
Mention luna68k sysinst update.
2014-02-19 13:30:45 +00:00
skrll
4c855bdfea
Provide a genassym.cf in libc for hppa and use it.
2014-02-19 13:01:51 +00:00
macallan
ca179fe165
- don't read beyond array bounds
...
- break a bunch of long lines
- remove an outdated comment
2014-02-19 12:28:38 +00:00
tsutsui
2bfe408bb8
Improve luna68k md part of sysinst.
...
- setup a boot UFS partition and install native bootloader
- add messages how to setup NVRAM variables for firmware to load bootloader
- enable swap on <= 32MB machines
2014-02-19 12:14:40 +00:00
tsutsui
7e3311382f
Fix kernel crash when a user tries to switch to nonexistent terminal.
...
Reported by Gabor Sebestyen in PR port-atari/48599.
Should be pulled up to all netbsd-6 branches.
2014-02-19 11:40:31 +00:00
szptvlfn
4893e5b805
Update URL
2014-02-19 09:13:21 +00:00
wiz
3d9f6124dc
grep-2.17 out.
2014-02-19 07:39:52 +00:00
rmind
022864892f
NPF: fix the recent breakage of the traceroute ALG. Also, simplify and
...
refactor a little bit.
2014-02-19 03:51:31 +00:00
rmind
27b83b3d9e
npfctl_print_nat: fix the byte-order of the port.
2014-02-19 01:43:16 +00:00
dsl
f0a4283c11
Copy fpu.h to release
2014-02-18 22:05:56 +00:00
dsl
63b89b358b
Unobsolete fpu.h
2014-02-18 22:03:52 +00:00
christos
34fd6c876e
add __extension__ and typeof
2014-02-18 22:01:36 +00:00
christos
e7cf1ceb60
prefer __func__ instead of __FUNCTION__
2014-02-18 20:54:34 +00:00
christos
e7f41d7afa
- include <sys/cdefs.h> for compiler definitions
...
- add a lint comment
2014-02-18 20:53:44 +00:00
christos
a675eb32ca
__real__ and __imag__ produce lvalues
2014-02-18 20:43:36 +00:00
dsl
ae3b84a62b
It seems that firefox includes machine/fpu.h on amd64.
...
Add the file back so that the firwfox source doesn't have to depend
on the version of netbsd it is being compiled for.
(The i386 version doesn't play the same games in its SIGFPE handler.)
2014-02-18 18:39:10 +00:00
martin
0ac513ac84
Add a few __sync_* and atomic functions.
2014-02-18 16:19:28 +00:00
martin
1a7bc9a039
Make the _and_fetch_8 primitives return the new value they calculated
...
and set - not whatever is found in memory later.
2014-02-18 13:21:04 +00:00
macallan
fd88e559d9
if MMIO is allowed and available, prefer it over PIO
...
now my ADPT,2930CU works again
2014-02-18 12:32:12 +00:00
macallan
a5d06cef1b
when looking for SCSI disks in canonicalize_bootpath() also match 'disk@'
...
since that's what at least some Adaptec firmware uses
2014-02-18 12:27:15 +00:00
martin
7925d62af9
Do not include <stdbool.h> in the kernel
2014-02-18 12:23:07 +00:00
martin
20ff963b35
For now excempt i386 from __sync_lock_test_and_set_8 and point to
...
PR lib/48601. Probably more architectures to follow.
2014-02-18 10:27:46 +00:00
martin
7c94bf0860
Provide most missing __sync_*64 primitives for i386
2014-02-18 10:16:55 +00:00
pooka
8966dd15d3
remove stub now provided by rump kernel base
2014-02-18 06:20:46 +00:00
pooka
a2e24f6a7e
Use same uvm_swap_shutdown() stub for !vmswap kernels and rump kernels.
2014-02-18 06:18:13 +00:00
christos
eff9fc76a8
put back some cppflags we lost.
2014-02-18 01:34:18 +00:00
christos
7588fedb3f
CID 1175795: Unused pointer value
2014-02-18 01:00:57 +00:00
christos
8140d3b7fb
Merge gcc-4.8 mknative bits.
2014-02-17 21:39:43 +00:00
joerg
0df5988fd8
Since clang doesn't recognize the nand variants of the sync builtins and
...
gcc doesn't support __has_builtin, use a plain #ifndef __clang__ check
as workaround.
2014-02-17 21:38:04 +00:00
wiz
e4a1d7f15f
ppp-2.4.6 out.
2014-02-17 21:29:29 +00:00
para
e3e2479f22
replace vmem(9) custom boundary tag allocation with a pool(9)
2014-02-17 20:40:06 +00:00
maxv
1036f1d9fc
Adapt my previous patch differently. read(2) wants EISDIR when the
...
object is a directory. Which also means that tmpfs_read() was returning
a wrong error code when dealing with non-regular vnodes.
2014-02-17 20:16:52 +00:00
christos
3053583861
auto-generate so that it does not get out of sync again.
2014-02-17 20:08:53 +00:00
pooka
37fe00547f
simply issue a warning if <1MB RAM configured. it might work, but
...
not going to start enumerating when and where it might.
2014-02-17 19:43:52 +00:00
pooka
67ab7d006c
reserve a small amount of memory for the pagedaemon
2014-02-17 19:33:05 +00:00
christos
7cc8d35eaa
use the constant definition
2014-02-17 19:30:12 +00:00
maxv
113995d235
Cosmetic; just replace whitespaces by tabs
2014-02-17 19:29:46 +00:00
kiyohara
6b4fc78c12
More delay() for some drives.
2014-02-17 13:41:20 +00:00
martin
884ddc8c02
Fix bogus #ifdef __vax__
2014-02-17 12:06:15 +00:00
martin
a2ebafbf22
Add a link-time test for __sync_* primitives (see PR 48368) - this
...
will allow us to notice missing functions during the build, instead
of when compiling arbitrary pkgsrc stuff later.
2014-02-17 10:10:41 +00:00
martin
ce92aca1d5
Bounce the minimum allocation alignement for sparc64 and amd64 as well,
...
to sync with their default gcc configuration.
We could relax this again later, after a filing a defect report with the
ISO C comitee and getting an answer contradicting the gcc teams
interpretation (and then fix the gcc target configurations instead).
2014-02-17 08:50:50 +00:00
agc
c04135dc77
Avoid a warning on Gentoo Linux about fwrite(3) -- their glibc
...
declares fwrite(3) with the warn_unused_result attribute, from Razvan
Cojocaru
2014-02-17 07:39:19 +00:00
skrll
fa1f86b552
Re-establish the default pipe after the initial reading of the device
...
descriptor.
This fixes usbd_new_device so that there is no really need to touch
QHs/EDs in [eo]hci_device_request.
KASSERT the address and maximum packet length now.
2014-02-17 07:34:21 +00:00
agc
cdcd95784d
Manual page fixes from Anthony J. Bentley, with many thanks!
...
Addresses PR/48395
2014-02-17 07:23:18 +00:00
agc
cb8800fa14
Update the autoconf-based infrastructure for another release.
...
The main change in this infrastructure is to get rid of the
libnetpgp-based netpgpverify. This functionality is provided by the
standalone netpgpverify and libnetpgpverify in pkgsrc, and
verification can also be performed using "netpgp -v".
2014-02-17 06:38:07 +00:00
kiyohara
66c5f06004
Remove TMR_FLAGS_ARMADAXP and Add flags NOBRIDGE, 25MHZ, SYSCLK.
...
- NOBRIDGE does not go via a bridge.
- 25MHZ is always counted with the cycle of 25 MHz.
- SYSCLK is counted with the cycle of sysClk. This is used in a few days
for Armada 370.
And please use not mvTclk but variable mvsoctmr_freq for calculation of a clock.
(e.g. in delay())
2014-02-17 05:25:32 +00:00
kiyohara
39db1c94a5
Add comment 'Armada XP only' to 25MHz bit. Also it is documented to errata?
2014-02-17 05:11:25 +00:00