From owner-p4-projects@FreeBSD.ORG Sat Apr 26 15:57:39 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0E4C337B404; Sat, 26 Apr 2003 15:57:39 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FD0A37B401 for ; Sat, 26 Apr 2003 15:57:38 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ABE743FBF for ; Sat, 26 Apr 2003 15:57:38 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3QMvc0U087926 for ; Sat, 26 Apr 2003 15:57:38 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3QMvbkc087917 for perforce@freebsd.org; Sat, 26 Apr 2003 15:57:37 -0700 (PDT) Date: Sat, 26 Apr 2003 15:57:37 -0700 (PDT) Message-Id: <200304262257.h3QMvbkc087917@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett To: Perforce Change Reviews Subject: PERFORCE change 29831 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 22:57:40 -0000 http://perforce.freebsd.org/chv.cgi?CH=29831 Change 29831 by jmallett@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 #include #include +#include #include +#include #include #include @@ -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(); }