From owner-freebsd-arm@FreeBSD.ORG Wed May 6 09:46:03 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18FA2639 for ; Wed, 6 May 2015 09:46:03 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECCA31D02 for ; Wed, 6 May 2015 09:46:02 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t469k2Ic074301 for ; Wed, 6 May 2015 09:46:02 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t469k2Yl074300; Wed, 6 May 2015 09:46:02 GMT (envelope-from daemon-user) Date: Wed, 6 May 2015 09:46:02 +0000 To: freebsd-arm@freebsd.org From: "jpa-semihalf.com (Jakub Palider)" Subject: [Differential] [Updated, 63 lines] D2438: ARM CP15 operations for db show command Message-ID: <74f2961599986d52ea5c8cb7b7dec838@localhost.localdomain> X-Priority: 3 Thread-Topic: D2438: ARM CP15 operations for db show command X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: MmIxZGRhYTlmNTI2ZDY4MDZkODZiYjQ2MDQ1IFVJ4to= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_74f2961599986d52ea5c8cb7b7dec838" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 09:46:03 -0000 --b1_74f2961599986d52ea5c8cb7b7dec838 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit jpa-semihalf.com updated this revision to Diff 5224. jpa-semihalf.com marked 3 inline comments as done. jpa-semihalf.com added a comment. This revision now requires review to proceed. Thank you for previous comments. Here is updated diff, I hope it is fine now. CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D2438?vs=5173&id=5224 REVISION DETAIL https://reviews.freebsd.org/D2438 AFFECTED FILES sys/arm/arm/machdep.c sys/arm/include/armreg.h sys/arm/include/cpu-v6.h sys/arm/include/sysreg.h EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: jpa-semihalf.com, andrew, meloun-miracle-cz, onwahe-gmail-com, ian, imp Cc: freebsd-arm --b1_74f2961599986d52ea5c8cb7b7dec838 Content-Type: text/x-patch; charset=utf-8; name="D2438.5224.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D2438.5224.patch" ZGlmZiAtLWdpdCBhL3N5cy9hcm0vaW5jbHVkZS9zeXNyZWcuaCBiL3N5cy9hcm0vaW5jbHVkZS9z eXNyZWcuaAotLS0gYS9zeXMvYXJtL2luY2x1ZGUvc3lzcmVnLmgKKysrIGIvc3lzL2FybS9pbmNs dWRlL3N5c3JlZy5oCkBAIC0yMTIsNiArMjEyLDcgQEAKICNpZiBfX0FSTV9BUkNIID09IDYgJiYg ZGVmaW5lZChDUFVfQVJNMTE3NikKICNkZWZpbmUJQ1AxNV9QTUNDTlRSKHJyKQlwMTUsIDAsIHJy LCBjMTUsIGMxMiwgMSAvKiBQTSBDeWNsZSBDb3VudC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