Add cpustate class declaration