public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001184] New: Cortex-m arch: hal_intr.h includes var_intr.h too early.
@ 2011-04-01 14:10 bugzilla-daemon
  2011-04-03  9:09 ` [Bug 1001184] " bugzilla-daemon
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: bugzilla-daemon @ 2011-04-01 14:10 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001184

           Summary: Cortex-m arch: hal_intr.h includes var_intr.h too
                    early.
           Product: eCos
           Version: 3.0
          Platform: All
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: ilijak@siva.com.mk
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1195)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1195)
Include var_intr.h after definition of hal_intr.h macros but allows overriding
of CYGNUM_HAL_INTERRUPT_RTC.

In Cortex-M architecture, the header hal_intr.h includes var_intr.h twice.
Second one is of course with no effect, but the first one is too early. 
Namely some macros that are defined in hal_intr.h, such as
CYGNUM_HAL_INTERRUPT_EXTERNAL, are used in hal-intr.h. This doesn't seem to
show ill effect so far since usage is by other macros.

Note: The early inclusion of var_intr.h has been introduced by Bug 1001090
Attachment 1092 in order to enable overriding of CYGNUM_HAL_INTERRUPT_RTC by
variant/platform.

The proposed patch includes var_intr.h after definition of hal_intr.h macros
but also allows overriding of CYGNUM_HAL_INTERRUPT_RTC.

-- 
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.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [Bug 1001184] New: Cortex-m arch: hal_intr.h includes var_intr.h too early.
@ 2011-04-01 14:10 bugzilla-daemon
  0 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2011-04-01 14:10 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001184

           Summary: Cortex-m arch: hal_intr.h includes var_intr.h too
                    early.
           Product: eCos
           Version: 3.0
          Platform: All
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: ilijak@siva.com.mk
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1195)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1195)
Include var_intr.h after definition of hal_intr.h macros but allows overriding
of CYGNUM_HAL_INTERRUPT_RTC.

In Cortex-M architecture, the header hal_intr.h includes var_intr.h twice.
Second one is of course with no effect, but the first one is too early. 
Namely some macros that are defined in hal_intr.h, such as
CYGNUM_HAL_INTERRUPT_EXTERNAL, are used in hal-intr.h. This doesn't seem to
show ill effect so far since usage is by other macros.

Note: The early inclusion of var_intr.h has been introduced by Bug 1001090
Attachment 1092 in order to enable overriding of CYGNUM_HAL_INTERRUPT_RTC by
variant/platform.

The proposed patch includes var_intr.h after definition of hal_intr.h macros
but also allows overriding of CYGNUM_HAL_INTERRUPT_RTC.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-04-05 17:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01 14:10 [Bug 1001184] New: Cortex-m arch: hal_intr.h includes var_intr.h too early bugzilla-daemon
2011-04-03  9:09 ` [Bug 1001184] " bugzilla-daemon
2011-04-03  9:13 ` bugzilla-daemon
2011-04-03 21:03 ` bugzilla-daemon
2011-04-03 22:38 ` bugzilla-daemon
2011-04-04  5:54 ` bugzilla-daemon
2011-04-04 10:10 ` bugzilla-daemon
2011-04-04 10:24 ` bugzilla-daemon
2011-04-04 12:24 ` bugzilla-daemon
2011-04-04 13:29 ` bugzilla-daemon
2011-04-04 20:50 ` bugzilla-daemon
2011-04-04 20:56 ` bugzilla-daemon
2011-04-04 21:27 ` bugzilla-daemon
2011-04-04 21:28 ` bugzilla-daemon
2011-04-05 16:18 ` bugzilla-daemon
2011-04-05 16:48 ` bugzilla-daemon
2011-04-05 17:02 ` bugzilla-daemon
  -- strict thread matches above, loose matches on Subject: below --
2011-04-01 14:10 [Bug 1001184] New: " bugzilla-daemon

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).