Just found it for myself.   The answer to the location of the
pagetable is indicated by the swapper_pg_dir variable.

The pagetable starts at swapper_pg_dir, and it is constructed before
the paging is enabled, (in paging_init())

void __init paging_init(void)
{
        pagetable_init();
        load_cr3(swapper_pg_dir);
        __flush_tlb_all();
        kmap_init();
}

Thanks.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to