From: Wolfgang Denk <wd@denx.de>
To: "Muaddi, Cecilia" <cecilia.muaddi@alloptic.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: access memory mapped registers
Date: Fri, 10 Jan 2003 01:25:44 +0100 [thread overview]
Message-ID: <20030110002549.97BD3C608E@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 09 Jan 2003 16:03:54 PST." <885489B3B89FB6449F93E525DF78777F06453E@srvnt506.ALLOPTIC.COM>
In message <885489B3B89FB6449F93E525DF78777F06453E@srvnt506.ALLOPTIC.COM> you wrote:
> why would it be better to use the device driver than via the mmap from user
> space?
Reliability, robustnes, clean design, ...
Why do we have a separation into kernel and user space at all?
> one of my criteria was to make sure no software mistake will cause the
> kernel to hang, as
> in the case of vxWorks we are running. So, if I implement my access to the
Then don't weaken the memory protection of the Unix design.
> device
> in the device driver, doesn't that means if there are problem with the
> device driver
> portion, i will cause the kernel to hang? Furthermore, any enhancement to
Don't you think that an application process that will write random
data to your hardware will have a much higher potential to cause harm
than a carefully designed, implementred, reviewed and tested device
driver?
> driver will require me to reinstall the kernel? whereas if all my user
> space
> application handles the access to those devices, I can stop the user space
> application,
> update it with the new application without requiring the system to reboot?
You can dynamically load and unload device drivers.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"Wish not to seem, but to be, the best." - Aeschylus
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next parent reply other threads:[~2003-01-10 0:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <885489B3B89FB6449F93E525DF78777F06453E@srvnt506.ALLOPTIC.COM>
2003-01-10 0:25 ` Wolfgang Denk [this message]
[not found] <885489B3B89FB6449F93E525DF78777F064542@srvnt506.ALLOPTIC.COM>
2003-01-10 1:20 ` access memory mapped registers Wolfgang Denk
2003-01-13 15:14 ` Kenneth Johansson
2003-01-10 0:27 Muaddi, Cecilia
2003-01-10 1:12 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2003-01-10 0:18 Kerl, John
2003-01-09 22:00 Muaddi, Cecilia
2003-01-09 23:14 ` Wolfgang Denk
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=20030110002549.97BD3C608E@atlas.denx.de \
--to=wd@denx.de \
--cc=cecilia.muaddi@alloptic.com \
--cc=linuxppc-embedded@lists.linuxppc.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 NNTP newsgroup(s).