202076 Commits

Author SHA1 Message Date
jruoho
b4a3a8f3ec Adjust the #ifdefs such that ccd(4) and cgd(4) show in
modstat(8) even if built into the kernel.
2011-06-21 06:23:38 +00:00
mrg
aaaade9e8e pull across from gcc 4.1:
revision 1.2
date: 2011/02/05 00:37:40;  author: joerg;  state: Exp;  lines: +2 -2
Explicitly use template to allow building with the more strict
template lookup in clang. From FreeBSD.
2011-06-21 06:22:06 +00:00
mrg
1e4c47b919 pull across from gcc 4.1:
revision 1.2
date: 2011/05/25 15:51:55;  author: joerg;  state: Exp;  lines: +2 -2
Don't define explicit instantiation as inline.
2011-06-21 06:18:56 +00:00
mrg
3b87de1dcf move the gcc 4.5 usr.bin build makefiles to the right place. 2011-06-21 06:03:13 +00:00
mrg
f0c80e6ced *sigh* move these files into the directories i meant for them to exist in.
start actually porting to gcc 4.5 in the process.
2011-06-21 06:02:25 +00:00
mrg
c6121f4c92 remove stuff from the wrong directory. oops. 2011-06-21 05:34:50 +00:00
matt
a93fef591a Nuke the mfsprg2 %r3 after sctrapexit. curlwp is already in %r13 and the
value fetched to %r3 isn't used.
2011-06-21 05:33:04 +00:00
erh
2d7c053867 There is no .../5.99 path to use for PKG_PATH, so change it to 5.1 instead.
Also refer the reader to pkg_install.conf as an alternative.
2011-06-21 05:31:29 +00:00
matt
c2df1ed774 Remove #if 0 block 2011-06-21 05:15:44 +00:00
matt
1a0a55ade7 remove a #if 0 block 2011-06-21 05:14:26 +00:00
jruoho
653bf25132 By default, enable wmihp(4) instead of hpqlb(4), as it has a better chance
of working with a greater number of HP laptops. Ok cegger@.
2011-06-21 05:01:17 +00:00
matt
9e2ba13093 Add a common struct containing tlb ops needed by the tlb pmap.c 2011-06-21 04:55:01 +00:00
mrg
6c3d0727c9 front end to build gcc 4.5 components 2011-06-21 04:53:33 +00:00
mrg
8dbf0d5bb3 prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45 2011-06-21 04:52:49 +00:00
mrg
b7268f61f6 build stuff for mpc, mpfr and gmp. mpfr is mine, the others are from chuq.
XXX: i don't think gmp works yet.  it wants multiple files with the same
basename but in different subdirs to link into one library...
2011-06-21 04:23:56 +00:00
matt
91e0e5d125 Add an extra assert to verify we aren't trying to process softints while
interrupts are being serviced.
2011-06-21 04:22:25 +00:00
matt
b3f241067a Switch to using dcache_wbinv_page 2011-06-21 04:21:44 +00:00
matt
3edffcf969 Reap the ci_ev_soft* evcnts since every variant implements __HAVE_FAST_SOFTINTS 2011-06-21 04:21:16 +00:00
matt
f399d1bd6e forward declare cpu_info and trapframe. 2011-06-21 04:19:22 +00:00
mrg
d0fea80e35 add a NetBSD_DISABLED rule for cfns.h. 2011-06-21 04:14:34 +00:00
mrg
2d7ccc14fc initial port to HAVE_GCC = 45. mknative-gcc parts are from me
and are largely untested, most of the rest is from chuq.
2011-06-21 04:11:12 +00:00
mrg
3a3b951b93 add HAVE_GCC=45 support. 2011-06-21 04:04:13 +00:00
mrg
0c72853741 add some "NetBSD_Disabled*" rules to avoid r/o src tree build issues. 2011-06-21 04:03:33 +00:00
jruoho
a9db528e18 Rename acpi_get_node() to acpi_match_node() for consistency. 2011-06-21 03:37:21 +00:00
jruoho
706138d7ee Note the potential danger in the options. Fixes PR lib/31112. 2011-06-21 03:02:57 +00:00
mrg
2a3bc70d3b import the non-arch specific makefiles we use to build GCC 4.1
as a base reference.
2011-06-21 02:48:27 +00:00
mrg
2f4e9d03df merge forward our changes into the GCC 4.5.3 tree. mostly from chuq. 2011-06-21 02:41:35 +00:00
mrg
0a0dd75b65 add some XXX'd -Wno-foo if HAVE_GCC >= 45.
XXX: someone should look at these.
2011-06-21 02:32:55 +00:00
mrg
7496e29126 adjust a grep pattern to (only) match the right line with GCC 4.5.
from chuq.
2011-06-21 02:19:30 +00:00
mrg
e13b252934 always build gmake if HAVE_GCC.
build gmp, mpfr and then mpc if HAVE_GCC >= 45.
2011-06-21 02:15:41 +00:00
mrg
41704ced0c note mpc 0.9, mpfr 3.0.1, GNU MP 5.0.2 and GCC 4.5.3 imports. 2011-06-21 01:53:18 +00:00
jruoho
013b7b496e Require unprivileged runs when appropriate. 2011-06-21 01:45:26 +00:00
mrg
4fee23f98c initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerous
to review, please see http://gcc.gnu.org/gcc-4.5/changes.html (and the 4.2,
4.3 and 4.4 versions, too.)

this includes the core, c++, objc and the non java/ada/fortran parts of the
testsuite.
2011-06-21 01:19:41 +00:00
yamt
05d8362d92 band-aid fix after the merge of rmind-uvmplock branch. 2011-06-20 23:18:58 +00:00
he
242e52e2ea Add -lbz2 and -llzma so that this links again. 2011-06-20 23:00:53 +00:00
pgoyette
2c629d0bbf Initialize current value for ENVSYS_DRIVE sensors 2011-06-20 22:02:55 +00:00
matt
0a807611dd Readd powerpc/include/vmparam.h to the set lists
Export it to powerpc/include.h
Protect pmap.h and vmparam.h from getting an #error when included
from userland.
Export safe definitions of VM_MAXUSER_ADDRESS, VM_MIN_ADDRESS,
VM_MAX_ADDRESS when _RUMPKERNEL is defined.
2011-06-20 21:45:16 +00:00
matt
928cfd7968 Make sure to build -fno-pie -fno-pic in case MKPIE=yes 2011-06-20 21:39:18 +00:00
he
33785dfc09 Include <string.h> for strncmp() prototype. 2011-06-20 20:25:47 +00:00
pgoyette
1281d34a15 Initialize battery capacity sensor value before registering. 2011-06-20 20:24:59 +00:00
matt
fc311b7702 PowerPC now exports a common view of cpu.h, vmparam.h and pmap.h
when building a MODULAR kernel or compiling _MODULE.
It should be noted that MODULAR or _MODULE export a view of the kernel
as being MULTIPROCESSOR (even if isn't).
The shared pmap TLB uses mdpg in places where it used mdpg to avoid
deadly embrance inclusion problems.
2011-06-20 20:24:28 +00:00
matt
5b497c25ae IBM4xx now uses the pic-based intr.h 2011-06-20 20:18:43 +00:00
pgoyette
1ad6aeb32e Initialize sensor state before registering.
XXX Still need to fix i2c/ibmhawk.c
2011-06-20 20:16:19 +00:00
matt
6265330aa0 Don't include *pmap.h in assembly files. Get the needed definitions
from "assym.h".
2011-06-20 19:56:10 +00:00
jdc
5ac6884491 Note sandpoint RAID 1 boot support. 2011-06-20 19:48:28 +00:00
jdc
2370f69f6d Add support for booting from RAID 1.
Note, that the RAID partition must be the first partition of the disk.
Reviewed by phx@.
2011-06-20 19:48:05 +00:00
matt
34ff1d7e1a Make the vm_page_md definition common for all users of the shared tlb pmap. 2011-06-20 19:31:58 +00:00
pgoyette
ac39d68c59 Initialize sensors states before registering. 2011-06-20 18:12:54 +00:00
pgoyette
e13c3a5c83 Initialize sensor states before registering 2011-06-20 18:12:06 +00:00
jruoho
f0756496ab Few naive tests for truncate(2). 2011-06-20 18:03:41 +00:00