Commit Graph

245907 Commits

Author SHA1 Message Date
christos
d6ee18cb90 add LIBGCC_MACHINE_ARCH 2016-10-22 20:33:51 +00:00
christos
bbf41bf8ef use LIBGCC_MACHINE_ARCH for the compat build 2016-10-22 20:33:28 +00:00
skrll
11da075cc5 Add multiple inclusion protection and __{BEGIN,END}_DECLS as a native gdb
build uses c++ to build nbsd-thread.c
2016-10-22 18:04:40 +00:00
skrll
a6174a4ba0 Add -lkvm for bsd-kvm.o 2016-10-22 14:57:50 +00:00
skrll
d2624817ef No need for corelow.o here now as it is in COMMON_OBS 2016-10-22 14:38:07 +00:00
abhinav
6cddff1a99 Add tests for uniq(1) based on the example test cases provided in the POSIX man page.
Ok christos
2016-10-22 14:13:39 +00:00
skrll
336fa725c9 Switch hppa to gdb 7.12... passes basic tests 2016-10-22 11:06:15 +00:00
skrll
4f5401ddf9 Fix HPPANBSD_SIZEOF_GREGS to match sizeof(struct reg) 2016-10-22 11:04:16 +00:00
wiz
669cbb2613 Remove trailing space. 2016-10-22 07:36:36 +00:00
christos
f6383fc60c regen and include the proper directory for x86_64 2016-10-22 03:55:03 +00:00
christos
6d0f30fd53 enable tf math (__float128) 2016-10-22 03:33:03 +00:00
christos
5300379ae6 Mark this -z nodelete, so that it does not get unloaded before other shared
libraries do, since they destructors need to still call millicode.
The problem this time was with /usr/pkg/bin/gdk-pixbuf-query-loaders
calling glib2's g_log...
2016-10-21 23:44:09 +00:00
jdolecek
dc627d47b1 update according to latest changes 2016-10-21 20:55:25 +00:00
jdolecek
3c9f488da8 revert 1.141 - the second ffs_truncate() can't really fail
requested by hannken@
2016-10-21 19:28:03 +00:00
flxd
b54ff8f604 Bless pmax with USB device files/majors and make kernel configs with USB and typical drivers work.
OK christos@ simonb@
2016-10-21 18:11:59 +00:00
ozaki-r
01d48c0fd7 Delete rt_timers on RTM_DELETE surely
We want to ensure that a rtentry is referenced by nobody after
RTM_DELETE (except for the caller). However, rt_timer could
have a reference to the rtentry after that.
2016-10-21 10:56:35 +00:00
ozaki-r
951f676f30 Remove unnecessary argument
No functional change.
2016-10-21 10:52:47 +00:00
ozaki-r
302ac4ae0e Make some rt_timer functions and variables static
No functional change.
2016-10-21 09:01:44 +00:00
msaitoh
72407ce3a1 - Fix previous commit in wm_kmrn_readreg().
- Use wm_gii_mdic_readreg/writereg() in wm_access_phy_wakeup_reg_bm()
  because these functions are called with taking lock.
- Add some DPRINTF()s.
2016-10-21 08:30:48 +00:00
mrg
9aca0f9768 add a ktrgenio() call to netbsd32___getdents30().
from dholland, tested by me.
2016-10-21 07:45:16 +00:00
mrg
e7aef7676b basic support for -static -pie: use -dynamic-linker.
doesn't work for all ports (reloc startup issues.)
2016-10-21 07:24:30 +00:00
mrg
ad34764861 flip the polarity of the xorg-server version: list the unconverted ports.
i distilled this list from the old list and the MKXORG_SERVER list, but
there may be some build fallout.
2016-10-21 06:04:16 +00:00
msaitoh
b305a64424 - Rewrite PHY related lock stuff. Almost the same as FreeBSD.
This change will fix a bug that PHY read/write fail on some cases.
- Increase delay in wm_phy_resetisblocked(). Same as FreeBSD.
- Use semaphore in wm_hv_phy_workaround_ich8lan() and wm_k1_gig_workaround_hv()
2016-10-21 04:41:09 +00:00
ozaki-r
e07d22aae6 Avoid temporal dangling reference 2016-10-21 03:04:33 +00:00
kre
0879fca268 Note update to tzdata2016h 2016-10-20 23:16:23 +00:00
kre
7ed3b6d29f Merge tzdata2016h 2016-10-20 23:13:08 +00:00
kre
d7a11c87d8 Import tzdata2016h from ftp://ftp.iana.org/tz/releases/tzdata2016h.tar.gz
Summary of changes in tzdata2016h (2016-10-19 23:17:57 -0700):

	Asia/Gaza and Asia/Hebron end of summer time for 2016 is
	2016-10-29 at 01:00 rather than 2016-10-21 at 00:00 (which
	is within hours after this update).  Guess that future
	end dates will be the last Sat of October.

	Corrected some historic time (and one date) transition
	times for Turkey (all 1990 or before.)

	Switch Sri-Lanka to use numeric abbreviation for time zone
	as the tzdata invented one is not correct, and the correct
	one seems not to be widely used.
2016-10-20 23:12:25 +00:00
jdolecek
e1aea9a285 allow also the snapshot_setup()'s call to ffs_truncate() fail, the code
should simply reuse the file blocks in that case; also make sure the
ffs_truncate() call is run within transaction if log is on
2016-10-20 20:17:46 +00:00
jdolecek
7470816b2a add assertion to ensure ffs_cgupdate() is always called from
within a WAPBL transaction (if logging is on)
2016-10-20 19:31:32 +00:00
macallan
9c898787bb add libc_fp stuff 2016-10-20 19:22:35 +00:00
jdolecek
f4a9f41e14 revert change from rev. 1.12:
"""
slightly optimize memory access - change struct nvme_queue so that the
struct dmamem members are allocated as part of it, instead of separate
kmem_alloc()s
"""

that change quite curiously caused completion queue corruption on MP systems,
regardless of MPSAFE setting for the pci/softintr interrupt
2016-10-20 19:20:40 +00:00
jdolecek
f583528dd2 revert rev. 1.7 - seems the polling damages command queue on live system 2016-10-20 18:42:28 +00:00
christos
40f6e414c5 new tzcode 2016-10-20 17:42:29 +00:00
christos
af580f3ad2 welcome to 2016h 2016-10-20 17:41:34 +00:00
christos
294f6fea81 we keep version in a separate file now 2016-10-20 17:39:08 +00:00
christos
3f8d0834f4 we keep version separately now 2016-10-20 17:38:28 +00:00
ryo
52eaea1955 make "machdep.imx7.frequency.arm_a7" and "machdep.imx7.frequency.arm_m4" sysctl node changeable. 2016-10-20 16:50:11 +00:00
maxv
21053717d0 There is a huge fpu synchronization issue here.
When the remote CPUs receive the ACPI sleep IPI, they do not save the fpu
state of the lwp they are executing. The problem is, when waking up they
reinitialize the registers of their local fpu and go back to their lwp
directly. Therefore, if an lwp is interrupted while storing data in an fpu
register, that data gets overwritten, which basically means the lwp is
likely to go crazy when resuming execution.

Fix this by simply saving the fpu state correctly. This way when going to
sleep the state is stored in the lwp's pcb and CR0_TS is set, so the next
time the lwp wants to use the fpu we'll get a dna, and the state will be
restored as expected.

While here, don't forget to reenable interrupts (and the spl) if an error
occurs.
2016-10-20 16:05:04 +00:00
maxv
72c89a7fde Reload the MSRs on the original cpu on i386 - looks like I forgot this part
in my rev1.41. Technically it does not change anything, since the only MSR
is NOX and it is already reloaded in the trampoline.
2016-10-20 14:06:18 +00:00
skrll
d3e93ac2c2 Fix regisers typo 2016-10-20 09:53:07 +00:00
ozaki-r
51460776c2 Make test names self-descriptive 2016-10-20 09:51:15 +00:00
mrg
acebeafe0d bump kernel version for ptrace32 related changes. 2016-10-20 08:18:16 +00:00
mrg
4f6d093233 sh3 (le) gdb 7.12 works. switch it.
sun2 gdb probably doesn't work any less bad.  switch it.
2016-10-20 08:11:38 +00:00
msaitoh
41fb970045 - Move call of wm_reset() in wm_attach() after setting PHY and NVM related
flags because those flags are used in wm_reset().
- Use mutex for NVM access on ICH8 and newer devices. Same as FreeBSD.
2016-10-20 08:03:13 +00:00
he
ba2f6aa5e3 Per the discussion in PR#20924, remove the HACK entry for intvec.S on vax. 2016-10-20 07:33:28 +00:00
martin
03cd41cf6c Rin Okuyama in PR port-evbmips/51563: wait for console input after halting
the machine.
2016-10-20 07:26:03 +00:00
msaitoh
555f67f524 Add newer I219 devices (not enabled). 2016-10-20 05:53:27 +00:00
msaitoh
777609a05f regen. 2016-10-20 05:52:32 +00:00
msaitoh
9e85476c80 Add newer I219 devices. 2016-10-20 05:52:09 +00:00
msaitoh
6c43b2fa50 - pci_conf_print_pwrbdgt_base_power(): From 0xf3 to 0xff of the Base power are
reserved above 300W (PCI 3.0 Errata).
- Emergency Power Reduction mechanism with PWRBRK signal ECN.
- Extended Message Data for MSI ECN.
- Fix typo in comment.
2016-10-20 04:11:02 +00:00