g_threads is processor-specific now, so it's unused, and setPageDirectory() needs the physical address.