Re: assembly instrcutions asm/io.h alternative
Re: assembly instrcutions asm/io.h alternative
- Subject: Re: assembly instrcutions asm/io.h alternative
- From: Mike Smith <email@hidden>
- Date: Tue, 24 Jan 2006 12:49:40 -0800
On Jan 24, 2006, at 12:02 PM, email@hidden wrote:
From: rohit dhamija <email@hidden>
Subject: assembly instrcutions asm/io.h alternative
To: email@hidden
Message-ID:
<email@hidden>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
Working on Mac OS 10.4
I am porting a win32 based C file to Mac platform and using gcc to
compile,
the file includes some assembly level instructions and includes
#include
<asm/io.h> file. But there is not such asm folder in /usr/include
Is there any alternative to io.h file in Mac OS ? Although the same
file
exists in Linux OS.
Any suggestions/comments are welcome.
Typically inclusion of this file indicates that the code in question
thinks it can access hardware directly.
User-space hardware access is not permitted under Darwin; without
knowing exactly what the code in question is trying to do, there is
no possible way to help you.
Please, when opening a new topic on this list, make *sure* that you
give as much detail as you can on what it is you are trying to do,
and why.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden