Written most of long mode entry point