From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20367 invoked by alias); 14 Nov 2007 12:12:37 -0000 Received: (qmail 20351 invoked by uid 22791); 14 Nov 2007 12:12:35 -0000 X-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_20,DK_POLICY_SIGNSOME,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.188) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 12:11:57 +0000 Received: from vpn-05be.vpn.informatik.uni-erlangen.de (faui02.informatik.uni-erlangen.de [131.188.30.102]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1IsH622R5p-0005LQ; Wed, 14 Nov 2007 13:11:54 +0100 From: Thomas =?utf-8?q?Kl=C3=B6ber?= To: ecos-devel@sourceware.org Subject: Masking single interrupts question Date: Wed, 14 Nov 2007 12:12:00 -0000 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1485534.mLSECl9Q3F"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711141311.50046.thomas@kdut.de> X-Provags-ID: V01U2FsdGVkX190nXNdR2J6KjN65RTRTbweNIowiq/GhdkW4eO SruFKHLVWQShPsvylvjJLwhY2ntBIVA74tDa15k/Eje3KQvUy4 CXZCBZnritxt7T7MCU45A== X-Virus-Checked: Checked by ClamAV on sourceware.org Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2007-11/txt/msg00000.txt.bz2 --nextPart1485534.mLSECl9Q3F Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 646 Hello, I am porting eCos to the Infineon Tricore TC1796 and have a question regard= ing=20 the HAL_INTERRUPT_MASK / -UNMASK macros. On the TC1796, each of up to 181 active interrupt sources must be assigned = a=20 priority (1-255), which also defines its vector number. Single interrupts=20 only can be disabled by the corresponding source, not by priority level.=20 Unfortunately, there is also no (simple) way, to find out, which source=20 actually is set to a given priority. eCos, on the other hand, expects interrupts to be maskable by their vector= =20 number, so what can I do, to accomplish this? Thanks in advance & regards, Thomas --nextPart1485534.mLSECl9Q3F Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHOuX5xNqsdmLP1x8RAkNtAKCzg3srJIeULdGmrEDiStay9LrTrACfbcfW KG68EWktkSVcgpufK+Eenq0= =zBWh -----END PGP SIGNATURE----- --nextPart1485534.mLSECl9Q3F--