Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 09:54:05 +0000
From:      "wma_semihalf.com (Wojciech Macek)" <phabric-noreply@FreeBSD.org>
To:        freebsd-arm@freebsd.org
Subject:   [Differential] [Updated, 78 lines] D3034: Add BUS_UNMASK_INTR method
Message-ID:  <89c8a53b781c6acdecfaca9079910103@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-knxjlihey7dhpvtvtsyg-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-knxjlihey7dhpvtvtsyg-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--b1_89c8a53b781c6acdecfaca9079910103
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: 8bit

wma_semihalf.com updated the summary for this revision.
wma_semihalf.com updated this revision to Diff 6910.
wma_semihalf.com added a comment.

Moved arm_unmask_irq here.


REPOSITORY
  rS FreeBSD src repository

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D3034?vs=6811&id=6910

REVISION DETAIL
  https://reviews.freebsd.org/D3034

AFFECTED FILES
  sys/arm64/arm64/intr_machdep.c
  sys/arm64/arm64/nexus.c
  sys/dev/fdt/simplebus.c
  sys/kern/bus_if.m
  sys/kern/subr_bus.c
  sys/sys/bus.h

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: wma_semihalf.com, emaste, imp, ian, andrew, zbb
Cc: freebsd-arm-list, meloun-miracle-cz, imp, andrew, emaste

--b1_89c8a53b781c6acdecfaca9079910103
Content-Type: text/x-patch; charset=utf-8; name="D3034.6910.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D3034.6910.patch"

ZGlmZiAtLWdpdCBhL3N5cy9zeXMvYnVzLmggYi9zeXMvc3lzL2J1cy5oCi0tLSBhL3N5cy9zeXMv
YnVzLmgKKysrIGIvc3lzL3N5cy9idXMuaApAQCAtNDAyLDYgKzQwMiw4IEBACiAJCQkgICAgICAg
c3RydWN0IHJlc291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reworCisJaWYgKHJlcyA9PSBOVUxMKQorCQlyZXR1cm4g
KEVJTlZBTCk7CisKKwlhcm1fdW5tYXNrX2lycShybWFuX2dldF9zdGFydChyZXMpKTsKKworCXJl
dHVybiAoMCk7Cit9CisKK3N0YXRpYyBpbnQKIG5leHVzX3RlYXJkb3duX2ludHIoZGV2aWNlX3Qg
ZGV2LCBkZXZpY2VfdCBjaGlsZCwgc3RydWN0IHJlc291cmNlICpyLCB2b2lkICppaCkKIHsKIApk
aWZmIC0tZ2l0IGEvc3lzL2FybTY0L2FybTY0L2ludHJfbWFjaGRlcC5jIGIvc3lzL2FybTY0L2Fy
bTY0L2ludHJfbWFjaGRlcC5jCi0tLSBhL3N5cy9hcm02NC9hcm02NC9pbnRyX21hY2hkZXAuYwor
KysgYi9zeXMvYXJtNjQvYXJtNjQvaW50cl9tYWNoZGVwLmMKQEAgLTQ0Niw2ICs0NDYsMTMgQEAK
IAljcml0aWNhbF9leGl0KCk7CiB9CiAKK3ZvaWQKK2FybV91bm1hc2tfaXJxKHVfaW50IGlycSkK
K3sKKworCVBJQ19VTk1BU0socm9vdF9waWMsIGlycSk7Cit9CisKICNpZmRlZiBTTVAKIHZvaWQK
IGFybV9zZXR1cF9pcGloYW5kbGVyKGRyaXZlcl9maWx0ZXJfdCAqZmlsdCwgdV9pbnQgaXBpKQoK


--b1_89c8a53b781c6acdecfaca9079910103--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89c8a53b781c6acdecfaca9079910103>