blob: d269b82ec351f8c113e12ec0b0b33863ca820f96 [file] [log] [blame]
b.liu1c74d692024-08-14 17:43:59 +08001#include <stdlib.h>
2#include "ql/ql_common.h"
b.liubcf86c92024-08-19 19:48:28 +08003#include "mbtk_log.h"
b.liu1c74d692024-08-14 17:43:59 +08004
5void Ql_Powerdown(int mode)
6{
7 switch (mode)
8 {
9 case 1:
10 system("halt");
11 break;
12 case 2:
13 system("reboot");
14 break;
15 default:
16 printf("mode error");
17 }
18
19 return ;
20
21}
22
b.liubcf86c92024-08-19 19:48:28 +080023void ql_lib_info_print()
24{
25 MBTK_SOURCE_INFO_PRINT("ql_lib");
26}
27