Commit Graph

229320 Commits

Author SHA1 Message Date
matt
0bccd770b8 Change the way we default MK vars to yes or no allowing
MK<var>.${MACHINE_ARCH} to override.
e.g MKGDB.aarch64=no will default MKGDB to no on aarch64
2014-08-11 22:28:50 +00:00
justin
a1754a3d77 Add aarch64 to rump srcdirs 2014-08-11 22:13:56 +00:00
matt
9081096a67 #include <arm/ptrace.h> instead of <arm/asm.h>
(opps)
2014-08-11 22:09:08 +00:00
matt
aac5dcec7d Add some definitions for building RUMP libraries with MKCOMPAT. 2014-08-11 22:08:34 +00:00
matt
f05b12d5ea Add MKCOMPAT support for aarch64 (COMPAT_MACHINE_CPU) 2014-08-11 22:03:25 +00:00
skrll
0e4096dbcc Decode alpha st_other 2014-08-11 20:57:28 +00:00
skrll
8e4a73da69 Apply change from upstream to fix PR/48709 - port-alpha/48709: static
threaded programs crash.

With this fix the new weak symbol's st_other is not merged in, i.e. NOPV
is not copied from the libc __libc_thr_init.

* elflink.c (_bfd_elf_merge_symbol): If merging a new weak
symbol that will be skipped, we don't have a new definition.
2014-08-11 20:53:16 +00:00
riastradh
a580220047 done is not guaranteed to be aligned; don't *(uint32_t *) it. 2014-08-11 14:07:55 +00:00
maxv
83fce8c371 1) 'error' is returned while it does not even hold an error code. Which
means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.

Both triggerable from root only.
2014-08-11 14:02:14 +00:00
riastradh
2270989b17 buf is not guaranteed to be aligned; don't *(uint32_t *) it. 2014-08-11 13:59:24 +00:00
joerg
7a5aaa5671 Mark compat directories as compat, not arch64. 2014-08-11 13:40:34 +00:00
riastradh
47d7f02ac0 Tweak cprng_fast_buf to use 32-bit unaligned writes if possible. 2014-08-11 13:22:16 +00:00
riastradh
0c0361fcdd Move initial entropy bookkeeping out of the fast path. 2014-08-11 13:12:53 +00:00
riastradh
7e518a1255 Use percpu_foreach instead of manual iteration. 2014-08-11 13:06:31 +00:00
riastradh
215d8661dd Access to struct cprng_fast must be consistently at IPL_VM. 2014-08-11 13:01:58 +00:00
roy
f356508f3e FONTCONFIG_DIR not existing does not need to be fixed. 2014-08-11 12:49:01 +00:00
martin
07aafbff43 Match firmware paths for the boot device in Mac style, as used by
QEMU/OpenBIOS.
2014-08-11 11:51:45 +00:00
skrll
078b8e6c04 PR/49091: xhci: wrong wMaxPacketSize value
While this is correct according to the specification only fixed sizes
are allowed, i.e. 512 for SS, etc. Maybe these should be used?
2014-08-11 10:37:59 +00:00
apb
cb6b43c72f Formatting fixes, following the guidelines in the comments
at the top of CHANGES:

* Start with <tab><heading><colon><one space><capital letter>...
* Indent with exactly two tabs.
* End with <full stop><one or two spaces, or newline and two tabs>
  <left square bracket><initials><space><date><right square bracket>

I edited only in the "Changes from NetBSD 6.0 to NetBSD 7.0" section,
and I left one entry starting with a lowercase letter because it was a
literal variable name.
2014-08-11 10:28:38 +00:00
riz
8764a7f896 Add NetBSD 8.0, and make 7.0 the default. 2014-08-11 09:12:59 +00:00
riz
f285cb1fbe Note the new netbsd-7 branch, and move CHANGES to CHANGES.prev . 2014-08-11 09:12:34 +00:00
riz
c5659de14f Welcome to 7.99.1. 2014-08-11 09:10:52 +00:00
mrg
b7bc265a64 put KMS support under our X11DRI definition. 2014-08-11 08:25:58 +00:00
mrg
6cdb313ef0 revert parts of 1.163 that affect the x86 build.
possibly, we want to build the i386 fenv.c for compat build, but they
seem largely compatible and for now, just go back to what we had before
that wasn't breaking the build or generating bug reports.
2014-08-11 08:20:57 +00:00
ozaki-r
8dc81a2b8c Add missing curly braces
It unbreaks the i386 build of ALL.
2014-08-11 06:02:38 +00:00
jnemeth
b6c78a9d3b remove debug cruft, the example module is not normally built 2014-08-11 05:19:16 +00:00
matt
72b4106e92 Fix else if botch 2014-08-11 04:33:30 +00:00
ozaki-r
f7f536e570 Do cprng_fast_init in rump_init
It fixes rump bootup failure:
  panic: kernel diagnostic assertion "off < percpu_nextoff" failed:
  file "/usr/src/lib/librump/../../sys/rump/../kern/subr_percpu.c", line 76
2014-08-11 04:27:24 +00:00
riastradh
bd9701def7 Back out tls-earlyentropy's rnd_add_data.
This caused recursion on rndpool_mtx when called from an rndsource's
callback.

XXX The old and new code here is a minefield demanding another
rototill.

XXX rnd_source_anonymous was not actually used before, and still is
not used now, to be cleaned up later.
2014-08-11 04:26:53 +00:00
matt
7ae11555b5 Use %x/%w as appropriate. 2014-08-11 04:03:59 +00:00
riastradh
bf5402594e No need for cprng_fast_seed to be inline. 2014-08-11 03:50:29 +00:00
riastradh
a7da2729e7 Include <sys/rnd.h>, don't copypasta declare rnd_initial_entropy. 2014-08-11 03:47:49 +00:00
riastradh
8756d4c167 Sort #includes. 2014-08-11 03:46:54 +00:00
jnemeth
3481529578 Add the infrastructure for MODULAR support for Xen kernels. At
the moment, this can only load very simple modules due to missing
symbols.  It is being add at this time to make pullups to the
netbsd-7 branch easier.  It is not enabled by default in any kernels.
2014-08-11 03:43:25 +00:00
rmind
4f21ab8829 NPF: finish up the rework of npfctl_save() mechanism. 2014-08-11 01:54:12 +00:00
riz
db9fae484c Use installboot to install bootblocks for i386/amd64, now that
they are included on all boot media.

Some of the previous method of setting the console (and conspeed, when
using serial console) is retained, but it should probably be reworked.

Also, adapt to the fact that we may be installing to a disk wedge.

With this change, it is now possible (but still ugly) for sysinst to
create a bootable GPT-labeled disk.
2014-08-11 00:31:22 +00:00
chs
216ce82326 add some std stuff for igepv2. 2014-08-10 23:46:09 +00:00
matt
04ea670ded Add compat dirs for aarch64 2014-08-10 23:40:33 +00:00
matt
810b61bb1a MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU 2014-08-10 23:39:08 +00:00
matt
243b0ccea7 Don't provide __gnu_Unwind_Find_exidx if __ARM_DWARF_EH__ is defined 2014-08-10 23:35:26 +00:00
matt
1ab7f387c3 Add eabihf directories 2014-08-10 23:31:41 +00:00
matt
91161928e4 MKCOMPAT set fixes 2014-08-10 23:26:48 +00:00
matt
7b20bc5be5 MKCOMPAT fixes for aarch64 2014-08-10 23:26:25 +00:00
matt
11614bb2b2 MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU 2014-08-10 23:25:49 +00:00
chs
5d708bdeab add tmpfs. 2014-08-10 22:55:49 +00:00
chs
07e86c9226 add missing omapdma. 2014-08-10 22:55:29 +00:00
justin
cd946d79cd define function consistently as inline 2014-08-10 22:35:32 +00:00
spz
5ff459c09e merge lossage (this file is an ASM generator not used in a normal build) 2014-08-10 21:00:48 +00:00
wiz
8a2c3b2aab mdocml-1.13.1 out. 2014-08-10 20:52:33 +00:00
joerg
b32c7c5ab8 Add -mfpu=vfp for fenv.c, since it gets those instructions from
machdep/armreg.h
2014-08-10 20:48:34 +00:00