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 1001300] problème de commutation des taches
Date: Sun, 07 Aug 2011 04:16:00 -0000	[thread overview]
Message-ID: <20110807041634.79E862F78008@mail.ecoscentric.com> (raw)
In-Reply-To: <bug-1001300-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=1001300

--- Comment #8 from Christophe Coutand <ecos@hotmail.co.uk> 2011-08-07 05:16:32 BST ---
In the plf_intr.h of the soclib package, you can overwrite the clock definition
provided from the hal_intr.h.

You must select the correct interrupt for the RTC clock:

#define CYGNUM_HAL_INTERRUPT_RTC YOUR_SOCLIB_TIMER_IRQ_NUM

and define the 3 macos used by eCos to access the clock:

externC CYG_WORD32 cyg_hal_clock_period;
#define CYGHWR_HAL_CLOCK_PERIOD_DEFINED

#define HAL_CLOCK_INITIALIZE( _period_ )           \
CYG_MACRO_START                                           \
     /* Place code here * /
    cyg_hal_clock_period = _period_;                       \
CYG_MACRO_END

#define HAL_CLOCK_RESET( _vector_, _period_ )   \
     /* Place code here * /
CYG_MACRO_END

#define HAL_CLOCK_READ( _pvalue_ )                 \
CYG_MACRO_START                                           \
     /* Place code here * /
CYG_MACRO_END

#define CYGHWR_HAL_CLOCK_CONTROL_DEFINED

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


  parent reply	other threads:[~2011-08-07  4:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01  2:54 [Bug 1001300] New: " bugzilla-daemon
2011-08-02 13:38 ` [Bug 1001300] " bugzilla-daemon
2011-08-03  0:51 ` bugzilla-daemon
2011-08-04  4:16 ` bugzilla-daemon
2011-08-06 17:22 ` bugzilla-daemon
2011-08-07  3:40 ` bugzilla-daemon
2011-08-07  4:16 ` bugzilla-daemon [this message]
2011-08-08  2:38 ` bugzilla-daemon
2011-08-14  1:47 ` bugzilla-daemon
     [not found] <bug-1001300-777@http.bugs.ecos.sourceware.org/>
2011-08-01 10:07 ` bugzilla-daemon
2011-08-02 13:38 ` bugzilla-daemon
2011-08-03  0:51 ` bugzilla-daemon
2011-08-07  3:40 ` bugzilla-daemon
2011-08-07  4:16 ` bugzilla-daemon
2011-08-08  2:38 ` bugzilla-daemon
2011-08-14  1:47 ` 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=20110807041634.79E862F78008@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: link
Be 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).