mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
o Move $FreeBSD$ from comment to __FBSDID macro
o Be a bit more verbose about CPU type during boot process (print manufacturer, chip info, MMU and cache parameters)
This commit is contained in:
parent
90a017ba64
commit
7baa3c0132
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187236
@ -22,9 +22,11 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $FreeBSD$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
#include <sys/module.h>
|
#include <sys/module.h>
|
||||||
@ -132,6 +134,8 @@ mips_cpu_init(void)
|
|||||||
|
|
||||||
mips_icache_sync_all();
|
mips_icache_sync_all();
|
||||||
mips_dcache_wbinv_all();
|
mips_dcache_wbinv_all();
|
||||||
|
/* Print some info about CPU */
|
||||||
|
cpu_identify();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user