On Mon, 24 Mar 2008, berryma4 wrote:
>
>
> Hello!
>
> I've read a few posts mentioning that inp/outp don't exist on arm.
> But, my toolchain does have a sys/io.h that includes inp and outp
> macros.
Ok. Have you compared the macros in your toolchain's sys/io.h with,
say, /usr/include/sys/io.h on an i386 or similar based system?
In my toolchain the functions are defined to throw an exception, i.e. fail, as
you have seen.
> I'm looking for a clarification on if these macros work, and
> if they don't why would they be included in the build. I've tried
> using the inp and outp in my code, but I get seg faults on execution.
I think you've just answered yourself :-)
> If I could use the macros; I feel it would be much better for porting
> back and forth between different architectures, than using the
> /dev/mem option.
>
>
> Thank you!
> Eric
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|