public inbox for ecos-bugs@sourceware.org help / color / mirror / Atom feed
From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001456] HAL misses Interrupt Clear-Pending Registers handling: wasted processing power Date: Wed, 15 Feb 2012 11:29:00 -0000 [thread overview] Message-ID: <20120215112857.BF0082F78005@mail.ecoscentric.com> (raw) In-Reply-To: <bug-1001456-13@http.bugs.ecos.sourceware.org/> Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001456 --- Comment #14 from Bernard Fouché <bernard.fouche@kuantic.com> 2012-02-15 11:28:54 GMT --- (In reply to comment #13) > Changes to the Kernel should be done with caution. I think that this addition > is not necessary. The desired functionality, for a given platform, can be > introduced by #defining HAL_VAR_INTERRUPT_ACKNOWLEDGE (and/or its cousins). There are two problems: - clearing the pending interrupt bit is completely different from acknowledging an interrupt. Acknowledgment is usually done at the end of DSR/ISR while clearing the pending interrupt bit must be done *before* reading the peripheral registers describing interrupt source(s): HAL_VAR_INTERRUPT_ACKNOWLEDGE is not a solution. - if HAL_VAR_INTERRUPT_CLEAR_PENDING is added only to Cortex-M targets, then how can one share a driver between an arch not requiring clearing pending interrupt and Cortex-M cores? For instance the generic serial 16x5x driver? Today cyg_drv_interrupt_acknowledge() resolves to CYG_EMPTY_STATEMENT for Cortex-M, IMHO we need cyg_drv_interrupt_clear_pending() to resolve to CYG_EMPTY_STATEMENT for non-Cortex-M, hence one can write a driver using both cyg_drv_interrupt_acknowledge() and cyg_drv_interrupt_clear_pending() at the correct place so the driver can work in different arch. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. >From ecos-bugs-return-8879-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Feb 15 11:29:28 2012 Return-Path: <ecos-bugs-return-8879-listarch-ecos-bugs=sources.redhat.com@sourceware.org> Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 11566 invoked by alias); 15 Feb 2012 11:29:27 -0000 Received: (qmail 11552 invoked by uid 22791); 15 Feb 2012 11:29:27 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Feb 2012 11:29:03 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 61B582F78009; Wed, 15 Feb 2012 11:29:02 +0000 (GMT) X-Original-To: unassigned@bugs.ecos.sourceware.org Delivered-To: unassigned@bugs.ecos.sourceware.org From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001456] HAL misses Interrupt Clear-Pending Registers handling: wasted processing power X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: bernard.fouche@kuantic.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <bug-1001456-777@http.bugs.ecos.sourceware.org/> References: <bug-1001456-777@http.bugs.ecos.sourceware.org/> X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 15 Feb 2012 11:29:00 -0000 Message-Id: <20120215112857.7AE192F78003@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <ecos-bugs.sourceware.org> List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org> List-Post: <mailto:ecos-bugs@sourceware.org> List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg00308.txt.bz2 Content-length: 1606 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001456 --- Comment #14 from Bernard Fouché <bernard.fouche@kuantic.com> 2012-02-15 11:28:54 GMT --- (In reply to comment #13) > Changes to the Kernel should be done with caution. I think that this addition > is not necessary. The desired functionality, for a given platform, can be > introduced by #defining HAL_VAR_INTERRUPT_ACKNOWLEDGE (and/or its cousins). There are two problems: - clearing the pending interrupt bit is completely different from acknowledging an interrupt. Acknowledgment is usually done at the end of DSR/ISR while clearing the pending interrupt bit must be done *before* reading the peripheral registers describing interrupt source(s): HAL_VAR_INTERRUPT_ACKNOWLEDGE is not a solution. - if HAL_VAR_INTERRUPT_CLEAR_PENDING is added only to Cortex-M targets, then how can one share a driver between an arch not requiring clearing pending interrupt and Cortex-M cores? For instance the generic serial 16x5x driver? Today cyg_drv_interrupt_acknowledge() resolves to CYG_EMPTY_STATEMENT for Cortex-M, IMHO we need cyg_drv_interrupt_clear_pending() to resolve to CYG_EMPTY_STATEMENT for non-Cortex-M, hence one can write a driver using both cyg_drv_interrupt_acknowledge() and cyg_drv_interrupt_clear_pending() at the correct place so the driver can work in different arch. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. >From ecos-bugs-return-8881-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Feb 15 13:35:41 2012 Return-Path: <ecos-bugs-return-8881-listarch-ecos-bugs=sources.redhat.com@sourceware.org> Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 8130 invoked by alias); 15 Feb 2012 13:35:39 -0000 Received: (qmail 8057 invoked by uid 22791); 15 Feb 2012 13:35:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_SUB_OBFU_OTHER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Feb 2012 13:34:58 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id D49832F78003; Wed, 15 Feb 2012 13:34:55 +0000 (GMT) X-Original-To: unassigned@bugs.ecos.sourceware.org Delivered-To: unassigned@bugs.ecos.sourceware.org From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001461] Spansion S25FLxxxK (SPI NOR FLASH) driver X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bernard.fouche@kuantic.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Attachment #1532 mime type Attachment #1532 is patch In-Reply-To: <bug-1001461-777@http.bugs.ecos.sourceware.org/> References: <bug-1001461-777@http.bugs.ecos.sourceware.org/> X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 15 Feb 2012 13:35:00 -0000 Message-Id: <20120215133449.E93C82F78003@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <ecos-bugs.sourceware.org> List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org> List-Post: <mailto:ecos-bugs@sourceware.org> List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg00310.txt.bz2 Content-length: 702 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001461 Bernard Fouché <bernard.fouche@kuantic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1532|application/octet-stream |text/plain mime type| | Attachment #1532|0 |1 is patch| | -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. >From ecos-bugs-return-8882-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Feb 15 13:46:30 2012 Return-Path: <ecos-bugs-return-8882-listarch-ecos-bugs=sources.redhat.com@sourceware.org> Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 10799 invoked by alias); 15 Feb 2012 13:46:27 -0000 Received: (qmail 10791 invoked by uid 22791); 15 Feb 2012 13:46:26 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_SUB_OBFU_OTHER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Feb 2012 13:46:14 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 3E9762F78003; Wed, 15 Feb 2012 13:46:13 +0000 (GMT) X-Original-To: unassigned@bugs.ecos.sourceware.org Delivered-To: unassigned@bugs.ecos.sourceware.org From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001461] Spansion S25FLxxxK (SPI NOR FLASH) driver X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bernard.fouche@kuantic.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <bug-1001461-777@http.bugs.ecos.sourceware.org/> References: <bug-1001461-777@http.bugs.ecos.sourceware.org/> X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 15 Feb 2012 13:46:00 -0000 Message-Id: <20120215134606.C57772F78003@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <ecos-bugs.sourceware.org> List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org> List-Post: <mailto:ecos-bugs@sourceware.org> List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg00311.txt.bz2 Content-length: 511 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001461 --- Comment #1 from Bernard Fouché <bernard.fouche@kuantic.com> 2012-02-15 13:46:05 GMT --- Created an attachment (id=1582) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1582) ecos.db entry -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. >From ecos-bugs-return-8883-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Feb 15 13:47:52 2012 Return-Path: <ecos-bugs-return-8883-listarch-ecos-bugs=sources.redhat.com@sourceware.org> Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 11734 invoked by alias); 15 Feb 2012 13:47:51 -0000 Received: (qmail 11723 invoked by uid 22791); 15 Feb 2012 13:47:50 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Feb 2012 13:47:02 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 100C92F78003; Wed, 15 Feb 2012 13:47:01 +0000 (GMT) X-Original-To: unassigned@bugs.ecos.sourceware.org Delivered-To: unassigned@bugs.ecos.sourceware.org From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001466] /dev/null serial driver X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bernard.fouche@kuantic.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <bug-1001466-777@http.bugs.ecos.sourceware.org/> References: <bug-1001466-777@http.bugs.ecos.sourceware.org/> X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 15 Feb 2012 13:47:00 -0000 Message-Id: <20120215134656.721E12F78003@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <ecos-bugs.sourceware.org> List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org> List-Post: <mailto:ecos-bugs@sourceware.org> List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg00312.txt.bz2 Content-length: 511 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001466 --- Comment #2 from Bernard Fouché <bernard.fouche@kuantic.com> 2012-02-15 13:46:54 GMT --- Created an attachment (id=1583) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1583) ecos.db entry -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. >From ecos-bugs-return-8884-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Feb 15 13:48:37 2012 Return-Path: <ecos-bugs-return-8884-listarch-ecos-bugs=sources.redhat.com@sourceware.org> Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 12322 invoked by alias); 15 Feb 2012 13:48:36 -0000 Received: (qmail 12309 invoked by uid 22791); 15 Feb 2012 13:48:35 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Feb 2012 13:47:53 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 3942B2F78005; Wed, 15 Feb 2012 13:47:52 +0000 (GMT) X-Original-To: unassigned@bugs.ecos.sourceware.org Delivered-To: unassigned@bugs.ecos.sourceware.org From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001466] /dev/null serial driver X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bernard.fouche@kuantic.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Attachment #1534 description Attachment #1534 is patch In-Reply-To: <bug-1001466-777@http.bugs.ecos.sourceware.org/> References: <bug-1001466-777@http.bugs.ecos.sourceware.org/> X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 15 Feb 2012 13:48:00 -0000 Message-Id: <20120215134746.E25972F78005@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <ecos-bugs.sourceware.org> List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org> List-Post: <mailto:ecos-bugs@sourceware.org> List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg00313.txt.bz2 Content-length: 715 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001466 Bernard Fouché <bernard.fouche@kuantic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1534|/dev/null |/dev/null as a tar file description| | Attachment #1534|1 |0 is patch| | -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. >From ecos-bugs-return-8885-listarch-ecos-bugs=sources.redhat.com@sourceware.org Wed Feb 15 20:46:17 2012 Return-Path: <ecos-bugs-return-8885-listarch-ecos-bugs=sources.redhat.com@sourceware.org> Delivered-To: listarch-ecos-bugs@sources.redhat.com Received: (qmail 9699 invoked by alias); 15 Feb 2012 20:46:15 -0000 Received: (qmail 9599 invoked by uid 22791); 15 Feb 2012 20:46:15 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Feb 2012 20:45:40 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 93FEE2F78005; Wed, 15 Feb 2012 20:45:39 +0000 (GMT) X-Original-To: unassigned@bugs.ecos.sourceware.org Delivered-To: unassigned@bugs.ecos.sourceware.org From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001466] /dev/null serial driver X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <bug-1001466-777@http.bugs.ecos.sourceware.org/> References: <bug-1001466-777@http.bugs.ecos.sourceware.org/> X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 15 Feb 2012 20:46:00 -0000 Message-Id: <20120215204522.066212F78008@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <ecos-bugs.sourceware.org> List-Subscribe: <mailto:ecos-bugs-subscribe@sourceware.org> List-Post: <mailto:ecos-bugs@sourceware.org> List-Help: <mailto:ecos-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> Sender: ecos-bugs-owner@sourceware.org Delivered-To: mailing list ecos-bugs@sourceware.org X-SW-Source: 2012/txt/msg00314.txt.bz2 Content-length: 2030 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id\x1001466 --- Comment #3 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-02-15 20:45:18 GMT --- On Comment #0 > Try to mimick /dev/null. (inspired by loop serial driver.) Comments > welcome, maybe the semantics aren't close enough to Un*x but it should > do the job for most cases. The doc may need to be rewritten? It seemed to me your interpretation of /dev/null will arise some confusions for some users. Below are mine. Mess #1 I would avoid the same mimic (and naming). In UNIX-like operating systems, /dev/null is a special *file* and not a serial device. % stty -aF /dev/null stty: /dev/null: Inappropriate ioctl for device As you can see /dev/null is not some terminal line (serial device). Well, eCos != *nix, but, I would avoid the ability to configure the /dev/null as a serial device under eCos. Mess #2 A read on /dev/null would not block process (thread), it does return EOF, and you offer in your documentation to enter an ability of the blocking read on /dev/null as an option. Mess #3 IMO, if anyone will see those words together in CDL (I mean 'serial' and 'null'), under eCos dev/serial/null, then he would think, Great! There is 'nullmodem' device in eCos! Come check my guess http://www.google.com/search?q=%2Bserial+%2Bnull And after reading your documentation, they will think, Nope! They provide something very special (special null device :-) BUT I do not want to break your idea. IMHO, the main mess here is naming and your free interpretation of /dev/null. You try to implement some serial device like a "tear off" nullmodem, but what is bad with a "nullmodem" abstraction for your purposes? And eCos serial loop driver (as you could see) is a half of nullmodem itself. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
next prev parent reply other threads:[~2012-02-15 11:29 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-01-16 14:26 [Bug 1001456] New: " bugzilla-daemon 2012-01-16 16:29 ` [Bug 1001456] " bugzilla-daemon 2012-02-09 14:23 ` bugzilla-daemon 2012-02-15 10:10 ` bugzilla-daemon 2012-02-15 10:48 ` bugzilla-daemon 2012-02-15 11:29 ` bugzilla-daemon [this message] 2012-02-16 15:30 ` bugzilla-daemon 2012-02-16 16:46 ` bugzilla-daemon 2012-02-23 9:05 ` bugzilla-daemon 2012-02-23 10:29 ` bugzilla-daemon 2012-04-02 8:10 ` bugzilla-daemon 2012-04-02 17:48 ` bugzilla-daemon 2012-04-02 21:22 ` bugzilla-daemon 2012-09-27 8:52 ` bugzilla-daemon 2012-09-27 12:39 ` bugzilla-daemon 2012-09-27 13:36 ` bugzilla-daemon 2012-09-27 18:09 ` bugzilla-daemon 2012-01-16 14:26 [Bug 1001456] New: " bugzilla-daemon 2012-01-24 16:11 ` [Bug 1001456] " bugzilla-daemon 2012-02-09 9:40 ` bugzilla-daemon 2012-02-09 11:30 ` bugzilla-daemon 2012-02-16 15:30 ` bugzilla-daemon 2012-02-23 9:58 ` bugzilla-daemon 2012-04-02 21:22 ` bugzilla-daemon 2012-09-26 16:15 ` bugzilla-daemon 2012-09-26 21:44 ` bugzilla-daemon
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20120215112857.BF0082F78005@mail.ecoscentric.com \ --to=bugzilla-daemon@bugs.ecos.sourceware.org \ --cc=ecos-bugs@ecos.sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).