Re: Confusion in acpi_sleep_machdep().

2007-01-01 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Matthew Dillon w rites: >I'm trying to figure out how the acpi_sleep_machdep() code works and >there are a couple of lines I just don't understand: > >pm = vmspace_pmap(p->p_vmspace); >cr3 = rcr3(); >#ifdef PAE >load_cr3(vtophys(pm->p

Confusion in acpi_sleep_machdep().

2006-12-31 Thread Matthew Dillon
I'm trying to figure out how the acpi_sleep_machdep() code works and there are a couple of lines I just don't understand: pm = vmspace_pmap(p->p_vmspace); cr3 = rcr3(); #ifdef PAE load_cr3(vtophys(pm->pm_pdpt)); #else load_cr3(vtophys(pm->pm_pdir)); #endif