Commit Graph

202061 Commits

Author SHA1 Message Date
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
mrg efee5258bc initial import of MPRF 3.0.1.
The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding).  It is
based on the GMP multiple-precision library and should replace the MPF
class in further releases of GMP.

GCC >= 4.2 requires MPFR.
2011-06-20 05:53:01 +00:00
matt f85f71e378 cleanup includes (include <powerpc/psl.h explicitly) 2011-06-20 05:50:39 +00:00
mrg d43cffdfe2 initial import of MPC 0.9 package.
MPC is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as MPFR.

GCC >= 4.2 requires MPC.
2011-06-20 05:50:19 +00:00
matt 15e097bf14 Tidy up includes. 2011-06-20 05:39:43 +00:00
matt 7443d538a7 Cleanup includes. 2011-06-20 05:15:59 +00:00
matt 56de61fe9e Add options MODULAR 2011-06-20 05:04:10 +00:00
enami 9394c08bbe Defer the processing of incomplete line at the end of buffer so that
kernel printf messages logged to /var/log/messages become always
easier to read.
2011-06-20 00:42:11 +00:00
nakayama 93c3c7c14f Limit reading from registers at most once every second with using
ratecheck(9).
2011-06-19 21:37:10 +00:00
hannken b632c2dabd Make ubc_purge() a noop. 2011-06-19 18:29:25 +00:00
hannken 86dc5d9ce0 Revert previous. ubc_purge() is already defined in rumpkern/vm.c 2011-06-19 18:28:24 +00:00
roy 3a520e5e78 Make new compiled terms for our updated terminfo. 2011-06-19 16:36:04 +00:00
roy 45a3ef0c73 Add civis and cnorm to our wsvt25 entry thanks to Onno van der Linden. 2011-06-19 16:27:23 +00:00
nonaka af1dc37e4b Note zaurus recent change. 2011-06-19 16:26:57 +00:00
nonaka 003bdf4c7b more support SL-C1000. 2011-06-19 16:20:09 +00:00
nonaka 87cdb51f7f - Split device_t/softc.
- Added some functions for i2c framework.
2011-06-19 16:16:42 +00:00