223563 Commits

Author SHA1 Message Date
nonaka
61a537b3d6 fix CS bit. 2014-01-04 13:24:35 +00:00
isaki
9050bf24ca FLOGNP1(-0.0) is -0.0, not +0.0. Found by XM6i. 2014-01-04 13:23:22 +00:00
hannken
b04f8aa83f Fix a race where thread1 runs VOP_REMOVE() and gets preempted in
tmpfs_reclaim() before the call to tmpfs_free_node().  Thread2
runs VFS_FHTOVP() and gets a new vnode attached to the node thread1
is about to destroy.

Change tmpfs_fhtovp() to check the generation number after
tmpfs_vnode_get() succeeded.
2014-01-04 12:36:49 +00:00
martin
65dddd35c0 Remove .note.netbsd.mcmodel and .note.netbsd.pax from the chrunched binaries.
We don't know wether the former would make sense (as currently used, it never
makes sense for static binaries) and we can not conclude safe PAX flags from
combined binaries.
2014-01-04 08:58:51 +00:00
joerg
149b982b18 Fix string compare. 2014-01-04 03:19:00 +00:00
msaitoh
3c10ad5307 Add Z68 LPC. 2014-01-04 02:59:17 +00:00
joerg
c8f443fa9a Add missing volatile for hidden side effects of asm. 2014-01-04 02:58:38 +00:00
msaitoh
1d1c89224b regen. 2014-01-04 02:57:50 +00:00
msaitoh
af1b92eef3 Add Intel Z68 LPC 2014-01-04 02:57:27 +00:00
joerg
782dab5744 Fix memcmp use. 2014-01-04 02:56:31 +00:00
msaitoh
4c6bef9716 Temporary disable C2000 PCU because the behavior of the wdog is little strange. 2014-01-04 02:09:12 +00:00
joerg
9c1bcb1543 Explicitly force a CPU for the assembler for the compatibility
cpu_func_* files. LLVM complains about the use of deprecated
instructions when -march=armv7 or equivalent is in use.
2014-01-04 01:33:11 +00:00
dsl
95739e63cd Remove __HAVE_PROCESS_XFPREGS and add the extra parameter for the size
of the fp save area to all the process_read_fpregs() and
  process_write_fpregs() functions.
None of the functions have been modified to use the new parameters.
The size is set for all the writes, but some of the arch-specific reads
  just pass NULL.
The amd64 (and i386) need variable sized fp register save areas in order
  to support AVX and other enhanced register areas.
These functions are rarely called - so the extra argument won't matter.
2014-01-04 00:10:02 +00:00
msaitoh
f8748bc5e6 Add C2000 Platform Controller Unit(PCU). 2014-01-03 23:18:48 +00:00
joerg
6466ad0c14 Avoid implicit cast on the return value. 2014-01-03 22:49:21 +00:00
roy
4be7ea2619 Note import of dhcpcd-6.2.0 2014-01-03 22:28:51 +00:00
roy
8860784217 Build with dhcpcd-6.2.0 2014-01-03 22:27:31 +00:00
roy
8ad72a7637 Sync 2014-01-03 22:24:41 +00:00
roy
322001baf8 Import dhcpcd-6.2.0 with the following changes:
* Fix NAK backoff when a server NAKs a REQUEST after a DISCOVER.
* Fix IPv6 ICMP filtering on Android (RS/RA now works)
* Fix sending of DHCPv6 FQDN when only hostname specified
* Add support for RFC3925 Vendor-Identifying Vendor Options
* Remove hard coded DHCP/DHCPv6 options and embed dhcpcd-definitions.conf.
  This actually results in a slightly smaller binary than before and has the added advantage that the option definitions are now all held within one file.
* Change IAID to default from the last 4 bytes of the MAC address.
  Rationale in the commit, but in a nutshell it allows for a stable IAID between reboots without persistent storage and across different OS's who name or number it differently to each other.
* RFC4242, Information Refresh Time Option for DHCPv6.
* Fix processing of inet4 addr in vendor options and terminate correctly.
* Preserve vendor encapsulated options.
* Fix renewal of Prefix Delegation. Only spam the log if a lease has a new address or changes the vltime of an existing address.
* Add noipv4 and noipv6 options.
* Warn about missing interfaces which require prefix delegation.
* If we timeout, remove any waitip config so that we daemonise correctly.
* Remove the IPv6 forwarding router check as valid use cases exist where you would want IPv6 RS/RA on a router.
* Pass the correct run directory to dhcpcd-run-hooks
2014-01-03 22:10:42 +00:00
dsl
4adfd474c1 Fix bug in previous (panic during process core dump).
Change the interface to ELFNAMEEND(coredump_savenote) so that the caller
  doesn't need to know the type of the elf note header.
Simplifies the calling code somewhat.
2014-01-03 21:34:40 +00:00
christos
eb3888d4e4 Add a load script that puts text.unlikely after text so that the start
address stays where we are. This is copied from m68kelfnbsd.xbn
2014-01-03 21:21:17 +00:00
dsl
825d1920ba There is no need for uvm_coredump_walkmap() to explicity pass the proc_t
pointer to the calller's function.
If the code needs the process its address can be placed in the caller's
  cookie.
2014-01-03 21:12:18 +00:00
dsl
d773820bd9 Instead of generating all the 'note' sections twice (and hoping that the
'fast path' size on the first path matches the actual size on the second)
  save all the notes (mostly the cpu registers for all the LWPs) in
  malloced memory on the first pass.
Sanity check that the number of memory segments matches written matches
  the count obtained earlier. If gcore() is used they could differ.
  (Not sure that returning ENOMEM is ideal, but it is better than a crash.)
2014-01-03 20:52:47 +00:00
joerg
ba1a5140ab Don't bother with the h (short) modifier. The predicated use of bswap16
confuses the type tracking in clang and the use here is not portable
anyway, since it assumes short == int16_t.
2014-01-03 20:26:45 +00:00
christos
7357087b77 fix sun2 build. libfreetype requires -lbz2 -lz 2014-01-03 20:18:45 +00:00
dsl
49ec817cb1 Remove the incorrect and unused Elf64_Shalf.
At one time it was used for a 32bit item - but that definition has long
  since been changed to use a reasonable 32bit type.
2014-01-03 16:54:48 +00:00
dsl
7c4ad3905a Remove the borked definition of ELF64_Shalf from some more places.
Remove the _KERNEL parts of some clones of sys/elf_exec.h
One might ask why this file has got cloned so many times.
2014-01-03 16:50:54 +00:00
dsl
fb6fad97a4 Remove the _KERNEL part of these two clones of sys/exec_elf.h
Remove the incorrect (and completely unused everywhere) Elf64_Shalf.
Put a better include guard on arch/epoc32/stand/e32boot/include/elf.h
Should be ok because I can't find any references to KERNEL in these
  source trees.
2014-01-03 16:40:58 +00:00
pgoyette
183540fff2 Add hifn(4) and ubsec(4) to the NOTYET section, and note that they can
be successfully built only on architectures that have PCI.
2014-01-03 16:16:10 +00:00
pgoyette
cdd7b47598 Add module glue for hifn(4) 2014-01-03 16:12:49 +00:00
pgoyette
1c14899110 Modularize 2014-01-03 16:09:22 +00:00
pgoyette
ff65229f7e If you're going to build this driver as a module, make sure that it
depends on opencrypto module.
2014-01-03 16:07:27 +00:00
macallan
e1cc895ece do as joerg requested and mark an unused function __unused 2014-01-03 15:57:12 +00:00
christos
87fb4a985c Simplify error path and fix typos. From Maxime Villard and me. 2014-01-03 15:49:49 +00:00
dsl
7a743f3de6 Minor changes to the process coredump code.
- Add some extra comments.
- Add some XXX comments because the process state might not be stable,
- Add uvm_coredump_count_segs() to simplify the calling code.
- uvm code now only returns non-empty sections/segments.
- Put the 'iocookie' into the 'cookie' block passed to uvm_coredump_walkmap()
  instead of passing it through as an additional parameter.
amd64 can still generate core dumps that gdb can read.
2014-01-03 15:15:02 +00:00
skrll
08a9dbe8f5 Small bit of tidyup and remove a XXX now that it's possible. 2014-01-03 14:41:57 +00:00
kiyohara
cdafadd48d Change wildcard for mvgbe configuration. Don't attach, if clock was disabled. 2014-01-03 14:40:54 +00:00
pooka
c7edf59387 netstat expected output includes ipv6 sucket, so add netinet6 2014-01-03 13:18:00 +00:00
pooka
7e5de72e53 ldpd wants inet6 2014-01-03 13:14:50 +00:00
pooka
9d79315b3a missed one inet6 check 2014-01-03 12:49:59 +00:00
skrll
cf1ea1842e Call callout_reset on the xfer timeoute_handle before calling
dwc2_hcd_urb_enqueue
2014-01-03 12:20:26 +00:00
skrll
5755263612 Change a KASSERT to a KASSERTMSG and add a DPRINTFN. 2014-01-03 12:07:37 +00:00
rkujawa
6145659025 Fix undefined reference to amiga_bus_stride_0x1000. 2014-01-03 10:30:47 +00:00
hannken
8ea5485de5 Fix a race where thread1 runs VOP_REMOVE() and gets preempted in
tmpfs_reclaim() before the call to tmpfs_free_node().  Thread2
runs VFS_FHTOVP() and gets a new vnode attached to the node thread1
is about to destroy.

Change tmpfs_alloc_node() to always assign non-zero generation number
and tmpfs_inactive() to set the generation number of unlinked nodes
to zero.
2014-01-03 09:53:12 +00:00
martin
8b9e38f519 Port from newer gcc:
Add a "mem_noofs_operand" predicate and corresponding "w" constraint.
Use those instead of "memory_reg_operand"/"m" for some atomic instrinsic
patterns: casx (and friends) do not accept an offset from the pointer
register (they are synthetic instructions mapping to e.g. casxa [..]
ASI_P, ... and the opcode space encoding offsets in other instructions
is needed to encode the ASI here).

This fixes the build of gtk+-3.10.6 from pkgsrc on sparc64.
2014-01-03 08:30:41 +00:00
tsutsui
d28b149862 Pull more cleanups from OpenBSD/luna88k:
- remove unused declarations
- rename struct scsi_fmt_cdb to scsi_generic_cdb
2014-01-03 07:17:19 +00:00
mlelstv
aafa26eec9 Fix allocator routines. Instead of abusing CIRCLEQ pointers, add an explicit
type field to tag memory nodes that are or are not on the free list.
2014-01-03 07:14:20 +00:00
tsutsui
795bcb0d40 Pull more fixes from OpenBSD/luna88k:
- Bring getline() - a.k.a libsa gets() with a prompt prefix - in par with libsa
  gets(), featurewise; this means support for ^u to clear the input.
- constify
2014-01-03 06:37:13 +00:00
tsutsui
86c3ed96a4 Pull more fixes from OpenBSD/luna88k:
- accept empty controller and partition numbers, as well as empty filenames,
  and use defaults (0, 0 and "netbsd") instead of complaining the boot path
  is invalid
- move a macro where actually necessary

Also bump version to denote the user visible change.
2014-01-03 06:15:10 +00:00
tsutsui
4929bf22e1 Disable unnecessary boot device check. From OpenBSD/luna88k. 2014-01-03 03:44:41 +00:00