Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I am just investigating a 64 bit extensions to my OS at the moment and am trying to identify whether long mode is available. On Intel, this seems pretty easy (CPUID EAX=1, returns in bit 30 of EDX), but according to the AMD manuals, bits 29:31 of EDX with CPUID EAX=1 are reserved (even in the latest PDF from their site).
Scanning the document, I can't find how to check if long mode is available. Does anyone know how I should do this (I have googled but may not be using the correct search term)?