matt
f399d1bd6e
forward declare cpu_info and trapframe.
2011-06-21 04:19:22 +00:00
jruoho
a9db528e18
Rename acpi_get_node() to acpi_match_node() for consistency.
2011-06-21 03:37:21 +00:00
yamt
05d8362d92
band-aid fix after the merge of rmind-uvmplock branch.
2011-06-20 23:18:58 +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
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
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
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
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
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
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
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