blob: 70d0ad3854f78b85405cfd44f6939e815fd7af10 [file] [log] [blame]
#include <stdlib.h>
#include "ql/ql_common.h"
void Ql_Powerdown(int mode)
{
switch (mode)
{
case 1:
system("halt");
break;
case 2:
system("reboot");
break;
default:
printf("mode error");
}
return ;
}