2023-11-09 20:19:51 +08:00
|
|
|
/*
|
2024-09-03 11:16:08 +08:00
|
|
|
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
2023-11-09 20:19:51 +08:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*
|
|
|
|
|
* Authors: xuan.wen <xuan.wen@artinchip.com>
|
|
|
|
|
*/
|
|
|
|
|
|
2024-10-30 16:50:31 +08:00
|
|
|
#ifndef __ABSYSTEM_OS_H__
|
|
|
|
|
#define __ABSYSTEM_OS_H__
|
2023-11-09 20:19:51 +08:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2024-09-03 11:16:08 +08:00
|
|
|
void aic_set_upgrade_status(char *file_name);
|
2025-01-08 19:12:06 +08:00
|
|
|
int aic_ota_status_update(void);
|
2023-11-09 20:19:51 +08:00
|
|
|
int aic_upgrade_end(void);
|
|
|
|
|
int aic_get_rodata_to_mount(char *target_rodata);
|
2024-06-04 19:00:30 +08:00
|
|
|
int aic_get_data_to_mount(char *target_data);
|
2023-11-09 20:19:51 +08:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|