init_cpuinfo()

Updated: May 06, 2022

Populate the cpuinfo data structure in the system page with CPU information.

Synopsis:

void init_cpuinfo (void)

Arguments:

None.

Description:

This function initializes the members of the system page's cpuinfo data structure with information about the CPUs on the board and their capabilities, including CPU-level caches. For many platforms, the generic function works. For ARM platforms, board-specific functions are often required.

Note: The init_cacheattr() function initializes caches implemented at the board-level.