Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assembly instrcutions asm/io.h alternative




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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.