I like to be able to detect the cpuinfo from during boot using grub2.
Can this be done?
What function should I call?
Is there a manual that lists all of the function available to the grub2 env?
Try the cpuid command. There is a manual section listing all commands.