public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: jpath@free.fr
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] problem writing a serial hardware interface driver
Date: Mon, 06 Jun 2005 23:28:00 -0000	[thread overview]
Message-ID: <1118068391.42a45ea7b812b@imp1-q.free.fr> (raw)

Hello,

I'm porting a BSP from PSOS to the HAL from ECOS (my target is a PPC860) for my
application, and I have a problem writing my serial hardware interface driver.
I already have all my I/O function "handlers" to attach to the
DEVTAB_ENTRY/handlers,  but
I don't understand what is exactly done in the DEVTAB_ENTRY/"module_init"
function.
Here are my questions:
1) Is there a setup of the serial device driver already done in the ECOS's HAL
(before the DEVTAB_ENTRY/init), or do I have to add MY driver setup in the
hal_variant_init() or in the hal_platform_init()?
2) the DEVTAB_ENTRY/"init" function is said to be "called when eCos is
initialized. This function can query the device, setup hardware, etc."
When is it exactly called in the HAL? in which file?
3) What am I supposed to initialize exactly in the DEVTAB_ENTRY/init function?
4) Is there a "Print()" function furnished with ECOS to print messages on the
console when my serial device driver will be installed?

Sincerely yours,

Jenny

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

             reply	other threads:[~2005-06-06 23:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06 23:28 jpath [this message]
2005-06-07  3:02 ` Gary Thomas

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=1118068391.42a45ea7b812b@imp1-q.free.fr \
    --to=jpath@free.fr \
    --cc=ecos-discuss@sources.redhat.com \
    /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).