On Sun, 7 Aug 2005, Leonid Podolny wrote: > Hi, > Apparently, I will be in charge of porting our (kernel-space) > application from ia-32 to x86_64 (aka EM64T) which I have very little > experience with. So I think I will need a good book. The Linux kernel > context would be a HUGE advantage, but itis not mandatory in any way. > Can someone point me to something specific or am I being too naive?
just doing the port (i.e. not including opteron-specific optimizations) is very easy, assuming the software was written using the proper data types. we ported a software driver to the opteron machine, and it was mostly a piece of cake to make it work there. there are some documents i found on the web that i used as guides for this port: a very short one from AMD: http://www.amd.com/us-en/assets/content_type/DownloadableAssets/Porting_x86_Linux_device_drivers_to_AMD64_Technology.htm a presentation given in gcc summit 2003: http://gcc.fyxm.net/summit/2003/Porting%20to%2064%20bit.pdf note that x86_64 uses the same endianess as ia32, so we didn't have problems in this department (unlike with powerPC, which employes the "other" endianess ;) ). good luck, -- guy "For world domination - press 1, or dial 0, and please hold, for the creator." -- nob o. dy ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]