For CPU info use host_info() and the host_basic_info structure ( they are defined in host_info.h).

As for the others you have to use platform API.

Regards