hello all!
just wondering if anyone has some example code for enabling long mode on x86-64?
thanks alot ;D
AMD-64
Re:AMD-64
maybe this "white paper" on amd64 can help you?
http://www.amd.com/us-en/Processors/Pro ... 96,00.html
/ Christoffer
http://www.amd.com/us-en/Processors/Pro ... 96,00.html
/ Christoffer
Re:AMD-64
One assumes you're using the amd64 version of Gentoo, not the x86 version, otherwise that won't work either. It's like sticking some PowerPC or SPARC assembly language instructions into your source code -- it ain't gonna work unless you're either running in that environment or you're using a cross-compiler.Jaymin wrote:i have some code from the AMD papers already but it fails to compile. now that i think of it im not sure djgpp supports 64bit. ill try compiling with gcc 3.4 in gentoo.