Commit Graph

202026 Commits

Author SHA1 Message Date
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
jruoho 0301c37913 Use acpi_match_cpu_handle() from acpi_util.c and only evaluate
the _PDC control method for CPUs that are enabled in the MADT.
2011-06-20 15:39:54 +00:00
jruoho 9016a5d8a8 Use the new acpi_match_cpu_handle() from acpi_util.c. 2011-06-20 15:36:49 +00:00
jruoho d7b285b083 Use the new acpi_match_cpu_info() from acpi_util.c. 2011-06-20 15:33:49 +00:00
jruoho 0f056e49c5 Add two new functions, acpi_match_cpu_info() and acpi_match_cpu_handle(),
which will match a given struct cpu_info with the corresponding ACPI handle,
and vice versa.
2011-06-20 15:31:52 +00:00
pgoyette f9d2d0003e Inialize sensor state before registering. 2011-06-20 15:01:30 +00:00
pgoyette b0a4d36275 Initialize sensor state before trying to register. 2011-06-20 15:00:04 +00:00
pgoyette 09568ba27e Maintain our own storage for volume and disk ID info rather than
(ab)using envstat's storage.

XXX Compile-tested only.
2011-06-20 13:26:58 +00:00
tsutsui ea0c2e2d1c Fix pasto botch. 2011-06-20 13:09:38 +00:00
nonaka a612f0b6a5 support SL-C1000. 2011-06-20 12:39:21 +00:00
kefren f33cde5958 Avoid computing INET[6] cksums for MPLS packets 2011-06-20 09:43:27 +00:00
mrg 0de3f09ec1 remove sh5 code. 2011-06-20 09:27:43 +00:00
nakayama 17e0aea6a2 Remove frame32 hack with using the same trick in netbsd32_machdep.c. 2011-06-20 09:25:48 +00:00
mrg 493d341048 various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
these work properly wtf pointer aliasing, but there are no casts at
least...

the lib/libpuffs/puffs_priv.h is definately a real bug fix.

from chuq.
2011-06-20 09:11:16 +00:00
matt 9f9b390495 Make more module friendly (part 1).
Don't export frame.h and psl.h to all of the kernel.
add lwp_pc and clkf accessor functions.
whitespace cleanup.
2011-06-20 08:47:12 +00:00
mrg e685ea4b88 remove some more ancient HAVE_GCC checks. 2011-06-20 08:46:28 +00:00
enami 7a059b3bd9 Now need to use own buffer for klog read due to previous change. 2011-06-20 08:27:15 +00:00
mrg e405cd7d86 remove HAVE_GCC == 4 conditional 2011-06-20 08:22:43 +00:00
matt 760db35e62 If this is a MODULAR kernel, export USRSTACK and CPU_MAXNUM as linker symbols
so modules can access them.
2011-06-20 08:18:28 +00:00
matt ac8fafe6aa Get rid of extern inline.
Cleanup includes.
Rearrange pv_entry so that are pointers are first.
2011-06-20 08:13:17 +00:00
matt 90b2f9b46e Add #error for unknown PPC variant
Now that oea calls cpu_fixup_stubs, we don't need pmap_fixup_stubs.
2011-06-20 08:07:03 +00:00
matt a4d141ba75 Don't export USER_SR if _MODULE is defined.
Add a common <powerpc/vmparam.h> like we have for <powerpc/pmap.h>
2011-06-20 08:01:13 +00:00
mrg 75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
matt f4082af472 Pad out trapframe for OEA so that trapframe has identical sizes for all
PPC variants.
2011-06-20 07:31:18 +00:00
matt 544a61dd20 Fixup PSL handling to be tolerant of modules. Move evbppc psl changes
into powerpc psl.h
2011-06-20 07:23:36 +00:00
matt 7e37a13248 Cleanup includes. (<net/netisr.h> is handled by softints, not MD anymore,
so this can be nuked).
2011-06-20 07:18:05 +00:00
mrg 8f161cd6d3 remove all the code that supported HAVE_GCC=3. mostly from chuq. 2011-06-20 06:52:36 +00:00
matt d9c7720855 Don't expose port-specific if _MODULE is defined.
Don't _MACHINE_CPU_H_, _<PORT>_CPU_H_
2011-06-20 06:35:39 +00:00
matt 179b37ab20 Cleanup powerpc param.h. If compiling a MODULE, ignore port-specific stuff.
Only include <machine/cpu.h> in <powerpc/param.h> at the end.
2011-06-20 06:29:53 +00:00
matt 10c6a9d272 Explicitly include <powerpc/psl.h> 2011-06-20 06:24:30 +00:00
matt bc7ec3365b Cleanup includes. Explicitly include <powerpc/psl.h> 2011-06-20 06:23:52 +00:00
matt 804fa49f90 Add __CTASSERT(sizeof(imask_t) == sizeof(uint64_t)); 2011-06-20 06:22:23 +00:00
matt 74692028f6 <arch/powerpc/... -> <powerpc/... 2011-06-20 06:21:45 +00:00
matt 79d5c05dc5 Include <powerpc/psl.h> 2011-06-20 06:04:33 +00:00
matt 37ea7f5287 Explicitly include <powerpc/psl.h> 2011-06-20 06:00:46 +00:00
matt 284281ac8b cleanup includes (explicit inclusion of <powerpc/psl.h> or <powerpc/userret.h>) 2011-06-20 05:59:06 +00:00
mrg d25ffa98a4 tools build framework for gmp, mpfr and mpc. from chuq. 2011-06-20 05:56:45 +00:00
mrg 51c586b89d initial import of GMP 5.0.2.
GNU MP is a library for arbitrary precision arithmetic, operating on signed
integers, rational numbers, and floating point numbers.  It has a rich set
of functions, and the functions have a regular interface.

GMP is necessary for GCC >= 4.2.
2011-06-20 05:54:29 +00:00