summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/booke
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-07-13 05:32:19 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-07-13 05:32:19 +0000
commit2127edd2e4b37d0e5b88e5d8eed4f87e927f83da (patch)
tree735db4c7a37fa272b6302d00e5a8c7e4c1bf84cb /sys/powerpc/booke
parent0ac6bad14a01affb256183801472e3a26ef32a4e (diff)
downloadFreeBSD-src-2127edd2e4b37d0e5b88e5d8eed4f87e927f83da.zip
FreeBSD-src-2127edd2e4b37d0e5b88e5d8eed4f87e927f83da.tar.gz
MFppc64:
Kernel sources for 64-bit PowerPC, along with build-system changes to keep 32-bit kernels compiling (build system changes for 64-bit kernels are coming later). Existing 32-bit PowerPC kernel configurations must be updated after this change to specify their architecture.
Diffstat (limited to 'sys/powerpc/booke')
-rw-r--r--sys/powerpc/booke/locore.S1
-rw-r--r--sys/powerpc/booke/machdep.c2
-rw-r--r--sys/powerpc/booke/swtch.S1
-rw-r--r--sys/powerpc/booke/vm_machdep.c2
4 files changed, 2 insertions, 4 deletions
diff --git a/sys/powerpc/booke/locore.S b/sys/powerpc/booke/locore.S
index b5b5090..ae45baf 100644
--- a/sys/powerpc/booke/locore.S
+++ b/sys/powerpc/booke/locore.S
@@ -34,7 +34,6 @@
#include <machine/hid.h>
#include <machine/param.h>
#include <machine/spr.h>
-#include <machine/psl.h>
#include <machine/pte.h>
#include <machine/trap.h>
#include <machine/vmparam.h>
diff --git a/sys/powerpc/booke/machdep.c b/sys/powerpc/booke/machdep.c
index 038939f..070761e 100644
--- a/sys/powerpc/booke/machdep.c
+++ b/sys/powerpc/booke/machdep.c
@@ -208,7 +208,7 @@ cpu_e500_startup(void *dummy)
for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) {
size = phys_avail[indx + 1] - phys_avail[indx];
- printf("0x%08x - 0x%08x, %d bytes (%d pages)\n",
+ printf("0x%08x - 0x%08x, %d bytes (%ld pages)\n",
phys_avail[indx], phys_avail[indx + 1] - 1,
size, size / PAGE_SIZE);
}
diff --git a/sys/powerpc/booke/swtch.S b/sys/powerpc/booke/swtch.S
index f7a9088..88cbf29 100644
--- a/sys/powerpc/booke/swtch.S
+++ b/sys/powerpc/booke/swtch.S
@@ -64,7 +64,6 @@
#include <machine/trap.h>
#include <machine/param.h>
-#include <machine/psl.h>
#include <machine/asm.h>
#include <machine/spr.h>
diff --git a/sys/powerpc/booke/vm_machdep.c b/sys/powerpc/booke/vm_machdep.c
index 5e7bde7..8d36793 100644
--- a/sys/powerpc/booke/vm_machdep.c
+++ b/sys/powerpc/booke/vm_machdep.c
@@ -380,7 +380,7 @@ is_physical_memory(vm_offset_t addr)
}
/*
- * Thread functions
+ * CPU threading functions related to VM.
*/
void
OpenPOWER on IntegriCloud