PERFORCE change 29831 for review
Juli Mallett
jmallett at FreeBSD.org
Sat Apr 26 15:57:40 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29831
Change 29831 by jmallett at jmallett_dalek on 2003/04/26 15:57:08
Add some printf insanity, return the start address in
uncached space for pmap_map.
Affected files ...
.. //depot/projects/mips/sys/mips/mips/pmap.c#5 edit
Differences ...
==== //depot/projects/mips/sys/mips/mips/pmap.c#5 (text+ko) ====
@@ -32,8 +32,10 @@
#include <sys/mutex.h>
#include <sys/time.h>
#include <sys/queue.h>
+#include <sys/systm.h>
#include <machine/cpufunc.h>
+#include <machine/cpuregs.h>
#include <machine/frame.h>
#include <vm/vm.h>
@@ -58,213 +60,255 @@
int pmap_pagedaemon_waken;
+#define UNIMPL() \
+printf("%s unimplemented at %s:%d\n", __func__, __FILE__, __LINE__)
+
void
pmap_activate(struct thread *td)
{
+ UNIMPL();
}
vm_offset_t
pmap_addr_hint(vm_object_t object, vm_offset_t va, vm_size_t size)
-{
+{
+ UNIMPL();
return (0);
}
void
pmap_change_wiring(pmap_t pmap, vm_offset_t va, boolean_t wired)
{
+ UNIMPL();
}
void
pmap_clear_modify(vm_page_t m)
{
+ UNIMPL();
}
void
pmap_clear_reference(vm_page_t m)
{
+ UNIMPL();
}
void
pmap_copy(pmap_t dst_pmap, pmap_t src_pmap, vm_offset_t dst_addr,
vm_size_t len, vm_offset_t src_addr)
{
+ UNIMPL();
}
void
pmap_copy_page(vm_page_t src, vm_page_t dst)
{
+ UNIMPL();
}
void
pmap_dispose_altkstack(struct thread *td)
{
+ UNIMPL();
}
void
pmap_dispose_thread(struct thread *td)
{
+ UNIMPL();
}
void
pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
boolean_t wired)
{
+ UNIMPL();
}
vm_offset_t
pmap_extract(pmap_t pmap, vm_offset_t va)
{
+ UNIMPL();
return (0);
}
void
pmap_growkernel(vm_offset_t addr)
{
+ UNIMPL();
}
void
pmap_init(vm_offset_t phys_start, vm_offset_t phys_end)
{
+ UNIMPL();
}
void
pmap_init2(void)
{
+ UNIMPL();
}
boolean_t
pmap_is_modified(vm_page_t m)
{
+ UNIMPL();
return (FALSE);
}
vm_offset_t
pmap_kextract(vm_offset_t va)
{
+ UNIMPL();
return (0);
}
vm_offset_t
pmap_map(vm_offset_t *va, vm_offset_t start, vm_offset_t end, int prot)
{
- return (0);
+ return (MIPS_PHYS_TO_KSEG1(start));
}
int
pmap_mincore(pmap_t pmap, vm_offset_t addr)
{
+ UNIMPL();
return (0);
}
void
pmap_new_altkstack(struct thread *td, int pages)
{
+ UNIMPL();
}
void
pmap_new_thread(struct thread *td, int pages)
{
+ UNIMPL();
}
void
pmap_object_init_pt(pmap_t pmap, vm_offset_t addr, vm_object_t object,
vm_pindex_t pindex, vm_size_t size, int limit)
{
+ UNIMPL();
}
boolean_t
pmap_page_exists_quick(pmap_t pmap, vm_page_t m)
{
+ UNIMPL();
return (FALSE);
}
void
pmap_page_protect(vm_page_t m, vm_prot_t prot)
{
+ UNIMPL();
}
void
pmap_pinit(pmap_t pmap)
{
+ UNIMPL();
}
void
pmap_pinit0(pmap_t pmap)
{
+ UNIMPL();
}
void
pmap_pinit2(pmap_t pmap)
{
+ UNIMPL();
}
void
pmap_prefault(pmap_t pmap, vm_offset_t va, vm_map_entry_t entry)
{
+ UNIMPL();
}
void
pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot)
{
+ UNIMPL();
}
void
pmap_qenter(vm_offset_t va, vm_page_t *m, int count)
{
+ UNIMPL();
}
void
pmap_qremove(vm_offset_t va, int count)
{
+ UNIMPL();
}
void
pmap_release(pmap_t pmap)
{
+ UNIMPL();
}
void
pmap_remove(pmap_t pmap, vm_offset_t sva, vm_offset_t eva)
{
+ UNIMPL();
}
void
pmap_remove_all(vm_page_t m)
{
+ UNIMPL();
}
void
pmap_remove_pages(pmap_t pmap, vm_offset_t sva, vm_offset_t eva)
{
+ UNIMPL();
}
void
pmap_swapin_thread(struct thread *td)
{
+ UNIMPL();
}
void
pmap_swapout_thread(struct thread *td)
{
+ UNIMPL();
}
int
pmap_ts_referenced(vm_page_t m)
{
+ UNIMPL();
return (0);
}
void
pmap_zero_page(vm_page_t m)
{
+ UNIMPL();
}
void
pmap_zero_page_area(vm_page_t pa, int off, int size)
{
+ UNIMPL();
}
void
pmap_zero_page_idle(vm_page_t m)
{
+ UNIMPL();
}
More information about the p4-projects
mailing list