Re: assembly instrcutions asm/io.h alternative
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jan 24, 2006, at 12:02 PM, darwin-dev-request@lists.apple.com wrote: From: rohit dhamija <rohit.dhamija@gmail.com> Subject: assembly instrcutions asm/io.h alternative To: darwin-dev@lists.apple.com Message-ID: <855b43e90601232336o2a2ed9d1l7719416829be822b@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi, Working on Mac OS 10.4 = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Smith