From owner-p4-projects@FreeBSD.ORG Fri Mar 12 00:21:16 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DDE4616A4D0; Fri, 12 Mar 2004 00:21:15 -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 B13FA16A4CE for ; Fri, 12 Mar 2004 00:21:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A348643D48 for ; Fri, 12 Mar 2004 00:21:15 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2C8LFGe093720 for ; Fri, 12 Mar 2004 00:21:15 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2C8LFAp093664 for perforce@freebsd.org; Fri, 12 Mar 2004 00:21:15 -0800 (PST) (envelope-from jmallett@freebsd.org) Date: Fri, 12 Mar 2004 00:21:15 -0800 (PST) Message-Id: <200403120821.i2C8LFAp093664@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 48778 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: Fri, 12 Mar 2004 08:21:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=48778 Change 48778 by jmallett@jmallett_oingo on 2004/03/12 00:20:46 Add some struct __hack... Note that Index is 32-bits. Affected files ... .. //depot/projects/mips/sys/mips/include/cpufunc.h#16 edit Differences ... ==== //depot/projects/mips/sys/mips/include/cpufunc.h#16 (text+ko) ==== @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2002 Juli Mallett. All rights reserved. + * Copyright (c) 2002-2004 Juli Mallett. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -104,13 +104,12 @@ : \ : [a0] "r"(a0)); \ mips_barrier(); \ -} +} struct __hack -MIPS_RDRW64_COP0(entrylo0, MIPS_COP_0_TLB_LO0) -MIPS_RDRW64_COP0(entrylo1, MIPS_COP_0_TLB_LO1) -MIPS_RDRW64_COP0(entryhi, MIPS_COP_0_TLB_HI) -MIPS_RDRW64_COP0(index, MIPS_COP_0_TLB_INDEX) -MIPS_RDRW64_COP0(pagemask, MIPS_COP_0_TLB_PG_MASK) +MIPS_RDRW64_COP0(entrylo0, MIPS_COP_0_TLB_LO0); +MIPS_RDRW64_COP0(entrylo1, MIPS_COP_0_TLB_LO1); +MIPS_RDRW64_COP0(entryhi, MIPS_COP_0_TLB_HI); +MIPS_RDRW64_COP0(pagemask, MIPS_COP_0_TLB_PG_MASK); #undef MIPS_RDRW64_COP0 @@ -134,14 +133,15 @@ : \ : [a0] "r"(a0)); \ mips_barrier(); \ -} +} struct __hack -MIPS_RDRW32_COP0(compare, MIPS_COP_0_COMPARE) -MIPS_RDRW32_COP0(config, MIPS_COP_0_CONFIG) -MIPS_RDRW32_COP0(count, MIPS_COP_0_COUNT) -MIPS_RDRW32_COP0(wired, MIPS_COP_0_TLB_WIRED) -MIPS_RDRW32_COP0(cause, MIPS_COP_0_CAUSE) -MIPS_RDRW32_COP0(status, MIPS_COP_0_STATUS) +MIPS_RDRW32_COP0(compare, MIPS_COP_0_COMPARE); +MIPS_RDRW32_COP0(config, MIPS_COP_0_CONFIG); +MIPS_RDRW32_COP0(count, MIPS_COP_0_COUNT); +MIPS_RDRW32_COP0(index, MIPS_COP_0_TLB_INDEX); +MIPS_RDRW32_COP0(wired, MIPS_COP_0_TLB_WIRED); +MIPS_RDRW32_COP0(cause, MIPS_COP_0_CAUSE); +MIPS_RDRW32_COP0(status, MIPS_COP_0_STATUS); #undef MIPS_RDRW32_COP0