• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ASM / IO.h alternative ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASM / IO.h alternative ?


  • Subject: Re: ASM / IO.h alternative ?
  • From: Eric Albert <email@hidden>
  • Date: Mon, 23 Jan 2006 23:10:22 -0800

On Jan 23, 2006, at 10:57 PM, rohit dhamija wrote:

Working on Mac OS 10.4
 
I am porting a win32 based app to Xcode that 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.

The inline assembly in that file (or, rather, <sys/io.h>) should compile on Intel-based Macs. However, it's unusual to write code like that on Mac OS X. You may want to read over the IOKit documentation to find a better way to do whatever it is you're trying to do.


-Eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >ASM / IO.h alternative ? (From: rohit dhamija <email@hidden>)

  • Prev by Date: ASM / IO.h alternative ?
  • Next by Date: RE: What changes to the project does it want to save?
  • Previous by thread: ASM / IO.h alternative ?
  • Next by thread: Resources and dependencies
  • Index(es):
    • Date
    • Thread