Commit Graph

206419 Commits

Author SHA1 Message Date
rkujawa
9d89628a47 Improve probe procedure in efa(4). Update man apge to reflect this. 2011-10-30 11:10:42 +00:00
mrg
796bd71eac switch powerpc64 to GCC 4.5 and GDB 7. untested, but it builds which
is a step forward from a week ago.
2011-10-30 08:50:14 +00:00
rkujawa
0dd2fda376 Update comment (mention added 32-bit methods). 2011-10-30 08:33:43 +00:00
manu
ff9e6ef6d0 Fix the confusion between nodeid and inode numbers 2011-10-30 05:17:41 +00:00
manu
2bc8acd859 - Fix the confusion between fileno (opaque FUSE reference) and inode
numbers. fileno must be used when exchanging FUSE messages.
- Do not use kernel name cache anymore, as it caused modification from
  other machines to be invisible.
- Honour name and attribute cache directive from FUSE filesystem
2011-10-30 05:11:37 +00:00
christos
eafb0c8783 Back out previous; this should not be done in statclock but when the
allocations change or getrusage(). Plus the += seems wrong, we cannot
keep adding to the stats.
2011-10-30 01:57:40 +00:00
mrg
21ce43ac51 makefile frontend to run gmp configure under nbmake-$MACHINE. 2011-10-30 01:50:32 +00:00
christos
cdaa6f2f55 add mips64el, the last one 2011-10-30 01:06:43 +00:00
jakllsch
a7f0be9651 As both of the "ns-wide.wide.ad.jp" and "light.imasy.or.jp" IPv6 resolvers
now refuse my queries, replace them with "google-public-dns-a.google.com"
and "google-public-dns-b.google.com".
2011-10-30 00:30:56 +00:00
mrg
030041f5bd use LIBISPRIVATE instead of home-grown. 2011-10-30 00:28:57 +00:00
mrg
891af21ee2 expand the POWERPC_LINUX checks to also apply to POWERPC_NETBSD. 2011-10-30 00:28:26 +00:00
mrg
6dc4203514 "regenerate" after fixing link-time issues. 2011-10-30 00:27:52 +00:00
christos
d0b4489282 a copy of the ppc one. 2011-10-30 00:15:24 +00:00
christos
da671615f0 add ppc64 and armeb 2011-10-30 00:14:18 +00:00
christos
891159770f psim on ppc64 needs libz 2011-10-30 00:11:28 +00:00
mrg
c9b7c8c664 add support for powerpc64-netbsd.
fix support for sh*-netbsd.
2011-10-29 23:42:45 +00:00
uwe
2e3791a6b1 shnbsd_get_next_pc: declare displacement as LONGEST and use
regcache_cooked_read_signed() to fetch displacement for braf/bsrf.
2011-10-29 21:18:28 +00:00
christos
5cea0d8271 Another binutils workaround 2011-10-29 20:59:30 +00:00
christos
8801e4b4f0 - make noat-at noreorder-reorder sequences consistent.
- add nop hack to fix assembler internal error.
2011-10-29 20:55:36 +00:00
jym
7ec95f886a Typo fix. 2011-10-29 20:11:08 +00:00
rkujawa
9f8ca4f47e Allow 32-bit transfers for drives which support it. Add missing bus_space methods needed for such transfers. 2011-10-29 19:25:19 +00:00
jakllsch
c2f53256f5 Add Broadcom BCM3302 CPU to the table. 2011-10-29 18:56:49 +00:00
jakllsch
38ef45691e Some comment improvements; spelling and grammar. 2011-10-29 18:43:58 +00:00
tsutsui
733d468b24 Use pool(9) for struct pv_entry allocations rather than
uvm_km_alloc(9)/uvm_km_free(9) and ancient homegrown pv_page_info structures.

Calling uvm_km_free(9) during pmap_remove(9) could cause rw_lock error
in uvm_unmap1() as noted in PR port-m68k/45519.

NetBSD/x68k (both real X68030 and XM6i emulator) still gets weird panic
(corrupted kernel stack pointer?) on some heavy load:
---
panic: MMU fault
Stopped in pid 363.1 (X68k) at  netbsd:cpu_Debugger+0x6:	unlk	a6
db> tr
cpu_Debugger(4012004,8,1cbb528,2a618e0,2a5b000) + 6
db>
---
but it also occurs without this change so there might be some more bugs
in m68k pmap...
2011-10-29 18:26:19 +00:00
christos
f34aa33dec Make the mips softloat special case the same as in the libgcc Makefile. 2011-10-29 17:14:12 +00:00
christos
f772004800 cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
2011-10-29 16:54:49 +00:00
christos
45732a7591 make all bitfields unsigned int 2011-10-29 16:04:39 +00:00
christos
0b7c4e1b46 Everything else uses PIC branches to __cerror except those two... 2011-10-29 16:03:33 +00:00
christos
157b9e4ee9 Sync with other ports: in PIC mode make __cerror hidden; it is not supposed
to be used outside libc.
2011-10-29 16:03:03 +00:00
christos
1cf831f6ff PR/45539: Greg A. Woods: add support for getrusage(2) memory size statistics 2011-10-29 15:58:38 +00:00
christos
12a1c915b2 mention another ppc64 hack. 2011-10-29 15:18:21 +00:00
mrg
617be419f6 mark all these modules with "compatmodules" as evbppc64 doesn't want them. 2011-10-29 11:52:15 +00:00
mrg
d986b3bb4c make sure to use powerpc64/elf.m4, not powerpc32/elf.m4 here! 2011-10-29 11:42:09 +00:00
jym
f34c1ce282 Fix comment. 2011-10-29 11:41:32 +00:00
rkujawa
361194f4ef Fix style (pointed out by phx). 2011-10-29 11:16:19 +00:00
mrg
f54a3a20a7 regenerate binutils for powerpc64. 2011-10-29 11:05:45 +00:00
mrg
971b6107c6 remove the duplicated -mcall-netbsd.
adjust the __PIC__ definition to match common.opt.
2011-10-29 10:51:16 +00:00
mrg
74c1f8ad71 remove -I- from CPPFLAGS. 2011-10-29 10:28:37 +00:00
jnemeth
391d2e2d47 Don't run off the beginning of an array from Maurizio Lombardi. 2011-10-29 09:58:23 +00:00
mrg
2035f6bf12 mknative-gcc for powerpc64. 2011-10-29 09:21:31 +00:00
mrg
83554ca40d now that ppc64 sort of builds, i can generate at least gmp configury.
thanks christos!
2011-10-29 09:16:54 +00:00
dyoung
b16114789d Remove the #if 1 / #endif around some code that appears to be
responsible deleting the 'first' AF_INET address on the interface if the
target address has family == AF_UNSPEC.
2011-10-28 22:23:54 +00:00
dyoung
53c8737e53 For these interfaces, the implementation of SIOCSIFDSTADDR is identical
to SIOCINITIFADDR, and SIOCSIFDSTADDR callers always fall back to
SIOCINITIFADDR, so just get rid of the SIOCSIFDSTADDR case.
2011-10-28 22:08:14 +00:00
christos
b94db0ddf1 Only advance the time if we are skipping the gap. 2011-10-28 21:51:06 +00:00
dyoung
60d9d0608c Don't kauth-orize SIOCSIFMTU in pppsioctl() and stf_ioctl(), ifioctl()
has already done that for us.
2011-10-28 20:13:32 +00:00
dyoung
7609a81937 Userland may not change the IFF_CANTCHANGE flags, however, the kernel
may, so make sure if_flags_set() takes care of them.  Fixes a regression
in ifpromisc().
2011-10-28 20:11:58 +00:00
dyoung
bca1ae2608 Don't kauth-orize SIOCDIFPHYADDR, SIOCSIFFLAGS, SIOCSIFMTU, or
SIOCSLIFPHYADDR, in gif_ioctl() or in gre_ioctl(), because those
operations are ordinarily kauth-orized already in ifioctl().

Kauth-orizing SIOCSIFFLAGS in gre_ioctl() caused a panic ("panic:
bpf_detachd: ifpromisc failed: 1") when tcpdump(8) was interrupted.
Somehow bpf(4) enables promiscuous mode using different credentials than
it uses to disable promiscuous mode, hence the ifpromisc failure.  This
may have something to do with privilege-separation in tcpdump(8).  I.e.,
an LWP with SIOCSIFFLAGS privilege opens /dev/bpf, but an LWP without
SIOCSIFFLAGS privilege closes it.
2011-10-28 16:42:52 +00:00
dyoung
f7b2ead301 kauth isn't used in here, so don't #include <sys/kauth.h>. 2011-10-28 16:10:12 +00:00
christos
bfc91a38aa rename data() -> parse_data() to appease the powerpc64 toolchain:
{standard input}: Assembler messages:
{standard input}:105: Error: symbol `.data' is already defined
2011-10-28 14:00:20 +00:00
christos
31b34eee08 prevent underflow from giving us a false positive test in the first iteration. 2011-10-28 13:53:06 +00:00