This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 20020] New: Some tests don't enable interrupts, preventing Ctrl-C


http://bugs.ecos.sourceware.org/show_bug.cgi?id=20020

           Summary: Some tests don't enable interrupts, preventing Ctrl-C
           Product: eCos
           Version: unknown
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: normal
          Priority: low
         Component: Test farm
        AssignedTo: jifl at ecoscentric dot com
        ReportedBy: nobody at cygnus dot com


Some tests, e.g. bin_sem0, and in fact all kernel tests ending in "0", don't start the
scheduler, and so interrupts are disabled. As a result, when running on real hardware,
Ctrl-C's are not received, which is a problem for users, and conflicts with our
documentation.

Perhaps instead interrupts should be enabled, so that Ctrl-C processing can occur.
This should be done just with either HAL_ENABLE_INTERRUPTS(), or perhaps
Cyg_Interrupt::enable_interrupts() - I'm not sure.

It shouldn't be done by way of Cyg_Scheduler::start() though - that's what the bin_sem1
test is for.


---------------------------------------------------------------------------

Originator:
Jonathan Larmour

Organization:
cygnus

Audit-Trail:
Responsible-Changed-From-To: alexs->jlarmour 
Responsible-Changed-By: alexs 
Responsible-Changed-When: Thu Apr 29 12:38:36 PDT 1999 
Responsible-Changed-Why:  
Hi Jifl 

Could you start the ball rolling on this please? 
Thanks 
-- Alex

Unformatted:
Originator:  

page: www.cygnus.com/product/ecc-pr.html

Send_PR_form: Sent_from_www.cygnus.com



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]