Received: by mail.netbsd.org (Postfix, from userid 605) id 4372284DBC; Thu, 5 Mar 2020 02:14:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B9A6D84DBB for ; Thu, 5 Mar 2020 02:14:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id mUobDvZHk_uO for ; Thu, 5 Mar 2020 02:14:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5173584CDA for ; Thu, 5 Mar 2020 02:14:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4428AFBF4; Thu, 5 Mar 2020 02:14:53 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 5 Mar 2020 02:14:53 +0000 From: "Rin Okuyama" Subject: CVS commit: src/sys/arch/powerpc To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200305021453.4428AFBF4@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Rin Okuyama" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rin Date: Thu Mar 5 02:14:53 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c src/sys/arch/powerpc/include/ibm4xx: pmap.h tlb.h Log Message: Retire tlbpid_t (u_short): - PID (ctx, ASID) is 8-bit length, not half word. - For struct pmap, no need to use integer types smaller than word as pm_ctx because of alignment. - For ppc4xx_tlb_enter(), we need word-length storage for pid (and msr). XXX Better to rewrite pmap module with more suggestive integer types rather than char, int, long, and so on. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/arch/powerpc/ibm4xx/pmap.c cvs rdiff -u -r1.19 -r1.20 src/sys/arch/powerpc/include/ibm4xx/pmap.h cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/include/ibm4xx/tlb.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.