From owner-p4-projects@FreeBSD.ORG Sun May 25 15:55:28 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C576037B401; Sun, 25 May 2003 15:55:27 -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 4B7E637B404 for ; Sun, 25 May 2003 15:55:27 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A12DE43FAF for ; Sun, 25 May 2003 15:55:26 -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 h4PMtQ0U015493 for ; Sun, 25 May 2003 15:55:26 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4PMtQTe015482 for perforce@freebsd.org; Sun, 25 May 2003 15:55:26 -0700 (PDT) Date: Sun, 25 May 2003 15:55:26 -0700 (PDT) Message-Id: <200305252255.h4PMtQTe015482@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 31874 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: Sun, 25 May 2003 22:55:29 -0000 http://perforce.freebsd.org/chv.cgi?CH=31874 Change 31874 by jmallett@jmallett_dalek on 2003/05/25 15:54:43 Nuke functions that have been replaced by stuff, since they're only meant for C anyway. Affected files ... .. //depot/projects/mips/sys/mips/mips/locore_mips3.S#9 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/locore_mips3.S#9 (text+ko) ==== @@ -125,82 +125,6 @@ .text -/*---------------------------------------------------------------------------- - * - * mips3_wbflush -- - * - * Return when the write buffer is empty. - * - * Common for all MIPS3 and greater ISAs - * - * Results: - * None. - * - * Side effects: - * None. - * - *---------------------------------------------------------------------------- - */ -LEAF(mips3_wbflush) -XLEAF(mips5900_wbflush) -XLEAF(mips32_wbflush) -XLEAF(mips64_wbflush) - nop - sync - j ra - nop -END(mips3_wbflush) - -/* - * u_int32_t mips3_cp0_compare_read(void) - * - * Return the current value of the CP0 Compare register. - */ -LEAF(mips3_cp0_compare_read) - mfc0 v0, MIPS_COP_0_COMPARE - j ra - nop -END(mips3_cp0_compare_read) - -/* - * void mips3_cp0_compare_write(u_int32_t) - * - * Set the value of the CP0 Compare register. - */ -LEAF(mips3_cp0_compare_write) - mtc0 a0, MIPS_COP_0_COMPARE - COP0_SYNC - nop - nop - j ra - nop -END(mips3_cp0_compare_write) - -/* - * u_int32_t mips3_cp0_config_read(void) - * - * Return the current value of the CP0 Config register. - */ -LEAF(mips3_cp0_config_read) - mfc0 v0, MIPS_COP_0_CONFIG - j ra - nop -END(mips3_cp0_config_read) - -/* - * void mips3_cp0_config_write(u_int32_t) - * - * Set the value of the CP0 Config register. - */ -LEAF(mips3_cp0_config_write) - mtc0 a0, MIPS_COP_0_CONFIG - COP0_SYNC - nop - nop - j ra - nop -END(mips3_cp0_config_write) - /* * u_int32_t mipsNN_cp0_config1_read(void) * @@ -258,114 +182,6 @@ .set pop END(mipsNN_cp0_config3_read) -/* - * u_int32_t mips3_cp0_count_read(void) - * - * Return the current value of the CP0 Count register. - */ -LEAF(mips3_cp0_count_read) - mfc0 v0, MIPS_COP_0_COUNT - j ra - nop -END(mips3_cp0_count_read) - -/* - * void mips3_cp0_count_write(u_int32_t) - * - * Set the value of the CP0 Count register. - */ -LEAF(mips3_cp0_count_write) - mtc0 a0, MIPS_COP_0_COUNT - COP0_SYNC - nop - nop - j ra - nop -END(mips3_cp0_count_write) - -/* - * u_int32_t mips3_cp0_wired_read(void) - * - * Return the current value of the CP0 Wired register. - */ -LEAF(mips3_cp0_wired_read) - mfc0 v0, MIPS_COP_0_TLB_WIRED - j ra - nop -END(mips3_cp0_wired_read) - -/* - * void mips3_cp0_wired_write(u_int32_t) - * - * Set the value of the CP0 Wired register. - */ -LEAF(mips3_cp0_wired_write) - mtc0 a0, MIPS_COP_0_TLB_WIRED - COP0_SYNC - nop - nop - j ra - nop -END(mips3_cp0_wired_write) - -/* - * u_int32_t mips_cp0_cause_read(void) - * - * Return the current value of the CP0 Cause register. - * - * Note: Not profiled, skews CPU-clock measurement (mips_mcclock.c) - * to uselessness. - */ -LEAF(mips_cp0_cause_read) - mfc0 v0, MIPS_COP_0_CAUSE - j ra - nop -END(mips_cp0_cause_read) - -/* - * void mips_cp0_cause_write(u_int32_t) - * - * Set the value of the CP0 Cause register. - */ -LEAF(mips_cp0_cause_write) - mtc0 a0, MIPS_COP_0_CAUSE - COP0_SYNC - nop - nop - j ra - nop -END(mips_cp0_cause_write) - - -/* - * u_int32_t mips_cp0_status_read(void) - * - * Return the current value of the CP0 Status register. - */ -LEAF(mips_cp0_status_read) - mfc0 v0, MIPS_COP_0_STATUS - j ra - nop -END(mips_cp0_status_read) - -/* - * void mips_cp0_status_write(u_int32_t) - * - * Set the value of the CP0 Status register. - * - * Note: This is almost certainly not the way you want to write a - * "permanent" value to to the CP0 Status register, since it gets - * saved in trap frames and restores. - */ -LEAF(mips_cp0_status_write) - mtc0 a0, MIPS_COP_0_STATUS - COP0_SYNC - nop - nop - j ra - nop -END(mips_cp0_status_write) - LEAF(mips_wait_idle) j mips_maybewait_idle li t1, 1