summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2007-03-27 06:29:19 +0000
committerkevlo <kevlo@FreeBSD.org>2007-03-27 06:29:19 +0000
commitc93478d4b19976b89920cf5bd05cfcaa7f6a95f8 (patch)
treee3de29f69136a239548d7b24ff563b56f5221776 /sys/arm
parent3436aa65049f61a72781bd4880a79d2c079d2974 (diff)
downloadFreeBSD-src-c93478d4b19976b89920cf5bd05cfcaa7f6a95f8.zip
FreeBSD-src-c93478d4b19976b89920cf5bd05cfcaa7f6a95f8.tar.gz
Don't map mini-data cache page since ARM920T doesn't have it.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/at91/kb920x_machdep.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/arm/at91/kb920x_machdep.c b/sys/arm/at91/kb920x_machdep.c
index 7cb5af5..9766420 100644
--- a/sys/arm/at91/kb920x_machdep.c
+++ b/sys/arm/at91/kb920x_machdep.c
@@ -136,7 +136,6 @@ struct pv_addr irqstack;
struct pv_addr undstack;
struct pv_addr abtstack;
struct pv_addr kernelstack;
-struct pv_addr minidataclean;
static struct trapframe proc0_tf;
@@ -355,7 +354,6 @@ initarm(void *arg, void *arg2)
valloc_pages(abtstack, ABT_STACK_SIZE);
valloc_pages(undstack, UND_STACK_SIZE);
valloc_pages(kernelstack, KSTACK_PAGES);
- alloc_pages(minidataclean.pv_pa, 1);
valloc_pages(msgbufpv, round_page(MSGBUF_SIZE) / PAGE_SIZE);
/*
* Now we start construction of the L1 page table
@@ -379,9 +377,6 @@ initarm(void *arg, void *arg2)
pmap_link_l2pt(l1pagetable, afterkern + i * 0x00100000,
&kernel_pt_table[KERNEL_PT_AFKERNEL + i]);
}
- pmap_map_entry(l1pagetable, afterkern, minidataclean.pv_pa,
- VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE);
-
/* Map the vector page. */
pmap_map_entry(l1pagetable, ARM_VECTORS_HIGH, systempage.pv_pa,
OpenPOWER on IntegriCloud