I have successfully entered 32 bit protected mode and wish to go to 64 bit long mode now. I understand the code to do this but do not understand how the 64 bit tables work compared to the 32 bit GDT. I wondered if there was a tutorial on this or an easy way to explain it or do I just have to read the AMD manual (not easy to follow). I know the structure is
PML4T[0] -> PDPT.
PDPT[0] -> PDT.
PDT[0] -> PT.
PT
But I'm not sure how to use it. I presume the GDT from the 32 bit mode is not used in 64 bit long mode?