Enable global pages TLB extension on Application Processors.

MFC after:	3 days
This commit is contained in:
Stephan Uphoff 2006-03-18 19:32:46 +00:00
parent 1d6941d403
commit 4c0e9e8c79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156847

View file

@ -561,6 +561,13 @@ init_secondary(void)
smp_active = 1; /* historic */
}
/*
* Enable global pages TLB extension
* This also implicitly flushes the TLB
*/
load_cr4(rcr4() | CR4_PGE);
mtx_unlock_spin(&ap_boot_mtx);
/* wait until all the AP's are up */