para
89c9828deb
converting extent(9) from malloc(9) to kmem(9)
...
preceding kmem-vmem-pool-uvm patch
releng@ acknowledged
2012-01-27 18:52:47 +00:00
matt
2f23bdb126
Fix tpyo.
2011-08-02 00:25:38 +00:00
matt
bed04ba9a8
Add support for MEMSIZE to limit the amount of memory detected.
2011-07-25 05:46:12 +00:00
matt
b5e6df8ad4
Suppress a GCC 4.5 warning.
2011-07-20 13:21:12 +00:00
joerg
3eb244d801
Retire varargs.h support. Move machine/stdarg.h logic into MI
...
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
matt
6d1159d9c1
Fix off-by-one.
2011-07-16 21:36:18 +00:00
matt
0ea8aedfae
Fix some array bounds errors found by gcc 4.5
2011-07-01 07:44:33 +00:00
matt
4a40b01453
Modify mapiodev to take a third argument indicating whether the space
...
should be prefetchable (true) or not (false).
2011-06-30 00:52:55 +00:00
matt
3162fd7666
Some initial MULTIPROCESSOR spin code. Doesn't work yet.
2011-06-29 05:53:05 +00:00
matt
fe86ea0fb1
Make powerpc work on BookE. At this time we only support DOZE (lightest
...
form of power-saving). By default, power-saving is disabled but can be
enabled in /etc/sysctl.conf by setting machdep.powersave=1
2011-06-25 00:07:10 +00:00
matt
b1e55671fe
Use intr_init since we have it.
2011-06-24 23:54:37 +00:00
matt
8b35e8e3c4
Switch to using the common <common/pmap/tlb/tlb.h>
2011-06-23 01:27:20 +00:00
matt
7cba41e9b1
Use FRAME_Rn (like ibm4xx and oea) instead of FRAME_n.
...
Include psl.h to get PSL_* values instead of getting them from assym.h
2011-06-18 06:37:38 +00:00
matt
96d8734b3b
Whitespace cleanup
2011-06-18 06:36:25 +00:00
matt
d5e2b0cf4d
Move booke_fixup_stubs() to fixup.c and rename it to cpu_fixup_stubs().
...
This makes it easier for other PPC variants to use it.
2011-06-15 15:18:20 +00:00
matt
d8a675c3cd
print out the first 4 arguments to the kernel from the bootloader.
...
Add a definition of the uboot bootinfo structure.
2011-06-14 05:32:59 +00:00
mrg
ad34f7b431
move module_machine_booke into the booke machdep.
2011-06-12 04:20:18 +00:00
mrg
7eedb1d0c4
for booke and ibm4xx evbppc systems, set module_machine to to either
...
"powerpc-ibm4xx" or "powerpc-booke".
2011-06-12 03:42:41 +00:00
matt
16a73c72b7
Cleanup register use so that r5-r8 are preserved. Take advantage of
...
changes to INIT_CPUINFO (it now saves curcpu to L_CPU(%r13)).
2011-06-08 05:09:21 +00:00
matt
01fd92550a
Remove <machine/atomic.h>; use <sys/atomic.h> instead.
...
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
2011-06-05 16:52:22 +00:00
matt
784a196541
allow configuring multiple CPUs (still needs work).
...
Detect boot page on MP e500 CPUs (P2020, MPC8572, etc) and prevent use of
that page in NetBSD. This page is used to communicate with u-boot to spin
up secondary CPUs.
Probe LBC before PCI so that LBC attached devices can be configured before
probing the PCI. This gives a chance to download/setup PCI Express switches
before probing/configuring PCI.
Fix PIXIS speed entry bug/typo.
Rework SYS_CLK logic so that the SYS_CLK config option has the highest priority.
2011-05-28 05:21:40 +00:00
matt
a853fe292d
Support a little bus_space for mapping the GUR registers since some
...
devices use little endian registers. Add MPC8533 support.
2011-02-17 13:57:12 +00:00
matt
d0d7e0ac9a
Fix some typos.
2011-02-13 05:03:27 +00:00
matt
1ee018bbc3
Add MPC85xx variants.
...
Move to having a common kernel for all MPC85xx variants (CADMUS/PIXIS still
remain a problem).
2011-02-08 06:22:29 +00:00
matt
262e1f2b3f
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
...
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
2011-01-18 01:10:24 +00:00