From: Philippe Gerum <rpm@xenomai.org>
To: "Steven A. Falco" <sfalco@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] User space drivers on PPC440
Date: Fri, 09 Nov 2007 00:58:48 +0100 [thread overview]
Message-ID: <4733A2B8.8070100@domain.hid> (raw)
In-Reply-To: <473391B0.5040809@domain.hid>
Steven A. Falco wrote:
> The rt_misc_get_io_region() has the "start" argument as an unsigned
> long. On the PPC440, we have a 36-bit address space, where the I/O
> registers are generally above the 4GB area. For example, the UART is at
> address 0x1ef600300.
>
> The Linux request_region call has "start" typed as a resource_size_t,
> which is a u64 on the PPC440 (i.e. CONFIG_RESOURCES_64BIT is set even
> though this is a 23-bit processor).
>
> Is this something that should be handled by xeno-config? It could
> append a CFLAG indicating the size of a resource.
Or use a 64bit long unconditionally, to keep the same kernel-based
implementation, since there is no performance issue for this call. In
any case, we need to fix the API before 2.4 final is out -- which will
also affect the ABI, but it already changed during the 2.4 development
phase anyway.
>
> Steve
>
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
>
--
Philippe.
next prev parent reply other threads:[~2007-11-08 23:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-08 22:46 [Xenomai-core] User space drivers on PPC440 Steven A. Falco
2007-11-08 22:47 ` Steven A. Falco
2007-11-08 23:58 ` Philippe Gerum [this message]
2007-11-09 11:41 ` Philippe Gerum
2007-11-09 16:03 ` Steven A. Falco
2007-11-09 16:44 ` Steven A. Falco
2007-11-09 17:02 ` Gilles Chanteperdrix
2007-11-09 17:03 ` Philippe Gerum
2007-11-09 17:31 ` Steven A. Falco
2007-11-10 16:28 ` Philippe Gerum
2007-11-11 17:27 ` Philippe Gerum
2007-11-14 18:45 ` Steven A. Falco
2007-11-15 22:09 ` [Xenomai-help] buildbot and state of xenomai on PPC440? Niklaus Giger
[not found] ` <473CC49D.3030504@domain.hid>
2007-11-19 19:28 ` Niklaus Giger
2007-11-22 9:55 ` Philippe Gerum
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=4733A2B8.8070100@domain.hid \
--to=rpm@xenomai.org \
--cc=sfalco@domain.hid \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.