How to load 64 BITS

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.
Post Reply
jakelstr

How to load 64 BITS

Post by jakelstr »

Hi all,
I am writing an operating system and would like to know if it is beter to load 64bits in the bloader or in the kernel itself.
Cjmovie

Re:How to load 64 BITS

Post by Cjmovie »

It's a matter of choice, really. But for most people it probably WOULD be easiest to enable EM64T/Long mode in the bootloader, so thtat the Kernel doesn't ever have to touch 32-bit mode. I would recommend a two-stage bootloader if you aren't the most effecient ASM Coder.
Of course, I've never used long mode myself.....
Post Reply