#include #include "power_thread.h" #include "bmc_main.h" /* * Power manage thread,power on/off, power cycle, reset. * Author: Jimbo */ void *power_main(void *args) { printf("start power manage thread!\n"); g_BMCInfo.powerSta.S3 = 0; g_BMCInfo.powerSta.S4 = 0; g_BMCInfo.powerSta.S5 = 0; while(1) { // printf("This is power manage thread!\n"); sleep(5); } }