Commit Graph

202113 Commits

Author SHA1 Message Date
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
pgoyette
57e6b23a48 Initializes sensors states before registering. 2011-06-20 17:48:45 +00:00
matt
dba36e0322 Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
2011-06-20 17:44:33 +00:00
pgoyette
564fdf67d5 Initialize sensor state before registering 2011-06-20 17:31:37 +00:00
pgoyette
b9603c5a8f Initialize sensors states before registering. 2011-06-20 17:29:06 +00:00
pgoyette
19cf0602df Initialize sensor state before registering. 2011-06-20 17:24:16 +00:00
pgoyette
930a8a50f3 Initialize sensors states before registering. 2011-06-20 17:21:50 +00:00
matt
1ccd59cea1 Make struct cpu_info the same size if building MODULAR
kernels or compiling a module.
2011-06-20 17:15:38 +00:00
pgoyette
ee17befd6c Initialize sensor state before registering. 2011-06-20 17:07:21 +00:00
pgoyette
d9b90a6705 Initialize sensor states before registering. 2011-06-20 17:01:45 +00:00
pgoyette
f80eb73fce Initialize sensor states before registering 2011-06-20 16:33:42 +00:00
pgoyette
62052a3d50 Initialize sensor state before registering. 2011-06-20 16:31:28 +00:00
jruoho
b73004759f Regen. 2011-06-20 15:56:36 +00:00
jruoho
d3e9a80c24 Add ENE0100, a KB3924-based cir(4) chip.
From dmesg supplied by hasina rakotoarisoa on gnats.
2011-06-20 15:56:07 +00:00