From owner-p4-projects Thu Feb 13 17:26:41 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 27FA937B405; Thu, 13 Feb 2003 17:26:37 -0800 (PST) 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 B0D6037B401 for ; Thu, 13 Feb 2003 17:26:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E9CE43FBF for ; Thu, 13 Feb 2003 17:26:36 -0800 (PST) (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 h1E1Qabv083600 for ; Thu, 13 Feb 2003 17:26:36 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1E1QZ1E083597 for perforce@freebsd.org; Thu, 13 Feb 2003 17:26:35 -0800 (PST) Date: Thu, 13 Feb 2003 17:26:35 -0800 (PST) Message-Id: <200302140126.h1E1QZ1E083597@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett Subject: PERFORCE change 25131 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=25131 Change 25131 by jmallett@jmallett_dalek on 2003/02/13 17:25:54 Stub sysarch, swi_vm, fetch(9) and store(9). XXX needs suword32. Affected files ... .. //depot/projects/mips/sys/conf/files.mips#8 edit .. //depot/projects/mips/sys/mips/mips/support.S#2 edit .. //depot/projects/mips/sys/mips/mips/sys_machdep.c#1 add .. //depot/projects/mips/sys/mips/mips/vm_machdep.c#2 edit Differences ... ==== //depot/projects/mips/sys/conf/files.mips#8 (text+ko) ==== @@ -15,6 +15,7 @@ mips/mips/machdep.c standard mips/mips/pmap.c standard mips/mips/support.S standard +mips/mips/sys_machdep.c standard mips/mips/vm_machdep.c standard # This stanza is platform files, per platform. ==== //depot/projects/mips/sys/mips/mips/support.S#2 (text+ko) ==== @@ -87,3 +87,109 @@ 2: jr ra nop END(memcpy) + +/* + * Stubs for store(9) XXX + subyte() Stores a byte of data to the user-space address base. + + susword() Stores a short word of data to the user-space address base. + + suswintr() Stores a short word of data to the user-space address base. + This function is safe to call during an interrupt context. + + suword() Stores a word of data to the user-space address base. + */ + +/* + * subyte(9) + * int subyte(void *addr, int byte) + */ +ENTRY(subyte) + li v0, -1 + jr ra + nop +END(subyte) + +/* + * susword(9) + * int susword(void *addr, int shortword) + */ +ENTRY(susword) + li v0, -1 + jr ra + nop +END(susword) + +/* + * suswintr(9) + * int suswintr(void *addr, int shortword) + */ +ENTRY(suswintr) + li v0, -1 + jr ra + nop +END(suswintr) + +/* + * suword(9) + * int suword(void *addr, long word) + */ +ENTRY(suword) + li v0, -1 + jr ra + nop +END(suword) + +/* + * Stubs for fetch(9) XXX + fubyte() Fetches a byte of data from the user-space address base. + + fusword() Fetches a short word of data from the user-space address + base. + + fuswintr() Fetches a short word of data from the user-space address + base. This function is safe to call during an interrupt con- + text. + + fuword() Fetches a word of data from the user-space address base. + */ + +/* + * fubyte(9) + * int fubyte(const void *addr) + */ +ENTRY(fubyte) + li v0, -1 + jr ra + nop +END(fubyte) + +/* + * fusword(9) + * int fusword(const void *addr) + */ +ENTRY(fusword) + li v0, -1 + jr ra + nop +END(fusword) + +/* + * fuswintr(9) + * int fuswintr(const void *addr) + */ +ENTRY(fuswintr) + li v0, -1 + jr ra + nop +END(fuswintr) + +/* + * fuword(9) + * long fuword(const void *addr) + */ +ENTRY(fuword) + li v0, -1 + jr ra + nop +END(fuword) ==== //depot/projects/mips/sys/mips/mips/vm_machdep.c#2 (text+ko) ==== @@ -55,3 +55,8 @@ cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2, int flags) { } + +void +swi_vm(void *m) +{ +} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message