- 30 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !983 from 夏不白/codecheck
-
由 xiacong 提交于
1、修复空格、空行使用错误告警; 2、将超过10行的inline函数去除内联符号 fix #I685E3 Signed-off-by: Nxiacong <xiacong4@huawei.com>
-
- 29 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !979 from Zhaotianyu/20221228mktime_fix
-
由 arvinzzz 提交于
BREAKING CHANGE: The tm struct obtained by mktime lacks timezone information 变更API: time_t mktime(struct tm *tmptr) 原先mktime从入参中获取时区信息进行计算,变更后tm结构体和返回值time_t的计算使用系统g_timezone时区环境变量。 Close I67UIA Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com> Change-Id: I766cffbff3c1a25bb33cbd245225ee117909af3a
-
- 27 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !977 from 张亚雷/master
-
由 mrzhang 提交于
Signed-off-by: Nmrzhang <zhangyalei8@h-partners.com>
-
- 24 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !965 from Far/vfsmpfind
-
由 Far 提交于
1. provide VfsMpFind which doesn't support mounting recursively; 2. provide a macro to set whether supporting recursive-mount or not. 3. adding path length checking BREAKING CHANGE: new config option: LOSCFG_FS_SUPPORT_MOUNT_TARGET_RECURSIVE fix #I65XE6 Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: I7ae371f0e6fff46db0e2368f905aa22bac864b79
-
- 22 12月, 2022 4 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !974 from Zhaotianyu/20221222misc_config
-
由 arvinzzz 提交于
Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com> Change-Id: I4eecfc1af2b0cdc39922a8ce299eb8ab6b7c6e8c
-
由 openharmony_ci 提交于
Merge pull request !973 from Far/master
-
由 Far 提交于
1. 移除了fatfs和littlefs中冗余的加锁操作。 2. 增加了配置选项FS_LOCK_TIMEOUT(宏LOSCFG_FS_LOCK_TIMEOUT),提供配置 文件系统获取锁超时能力。 3. 新增对外接口LOS_FsLock()和LOS_FsUnlock()接口,提供HAL层与文件系统的 互斥操作。 BREAKING CHANGE: 修复文件系统不合理的锁操作 新增API: los_fs.h: int LOS_FsLock(void) int LOS_FsUnlock(void) 新增配置项: LOSCFG_FS_LOCK_TIMEOUT(menuconfig FS_LOCK_TIMEOUT) fix #I66S2J Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: I2ae9b6b5e2c788b2f4a00d9678a0240d00c335eb
-
- 19 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !971 from openharmony_ci/revert-merge-938-master
-
由 openharmony_ci 提交于
-
- 17 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !969 from wangchen/1217_m
-
由 wangchen 提交于
方案描述: 1, 修改路径正确时打开失败可能的异常 fix #I66KGT Signed-off-by: Nwangchen <wangchen240@huawei.com>
-
- 16 12月, 2022 5 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !963 from Far/NFILE
-
由 openharmony_ci 提交于
Merge pull request !938 from Far/master
-
由 Far 提交于
1. close未考虑保留描述符0、1和2,导致fd合法性判断出现错误,这会导致 上限附近的fd不能被正常的关闭 2. 释放file结构体时未在锁的保护中进行,可能存在问题 fix #I65U8S Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: Iaa03a70e18fcb352ca3b99232f50b43d8b13ecf0
-
由 Far 提交于
1. 移除了fatfs和littlefs中冗余的加锁操作。 2. 增加了配置选项FS_LOCK_TIMEOUT(宏LOSCFG_FS_LOCK_TIMEOUT),提供文件 系统锁超时判定能力。 3. 新增对外接口LOS_FsLock()和LOS_FsUnlock()接口,提供HAL层与文件系统的 互斥操作。 BREAKING CHANGE: 修复文件系统不合理的锁操作 新增API: int LOS_FsLock(void) int LOS_FsUnlock(void) 新增配置项: LOSCFG_FS_LOCK_TIMEOUT(menuconfig FS_LOCK_TIMEOUT) fix #I6355A Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: Ia980abfac0ee761088313496c7e3c3e9568450b3
-
由 openharmony_ci 提交于
Merge pull request !962 from Zhaotianyu/20221210vfs_opt
-
- 13 12月, 2022 1 次提交
-
-
由 arvinzzz 提交于
1. vfs重构优化,统一fs模块的对外接口,减少不必要的冗余调用,由fs组件直接提供posix对外接口 2. vfs与libc关系整理 3. fs接口实现规范化 BREAKING CHANGE: 删除API: int LOS_Open(const char *path, int flags, ...); int LOS_Close(int fd); ssize_t LOS_Read(int fd, void *buff, size_t bytes); ssize_t LOS_Write(int fd, const void *buff, size_t bytes); off_t LOS_Lseek(int fd, off_t off, int whence); int LOS_Stat(const char *path, struct stat *stat); int LOS_Statfs(const char *path, struct statfs *buf); int LOS_Unlink(const char *path); int LOS_Rename(const char *oldpath, const char *newpath); int LOS_Fsync(int fd); DIR *LOS_Opendir(const char *path); struct dirent *LOS_Readdir(DIR *dir); int LOS_Closedir(DIR *dir); int LOS_Mkdir(const char *path, mode_t mode); int LOS_Rmdir(const char *path); int LOS_Lstat(const char *path, struct stat *buffer); int LOS_Fstat(int fd, struct stat *buf); int LOS_Fcntl(int fd, int cmd, ...); int LOS_Ioctl(int fd, int req, ...); ssize_t LOS_Readv(int fd, const struct iovec *iovBuf, int iovcnt); ssize_t LOS_Writev(int fd, const struct iovec *iovBuf, int iovcnt); ssize_t LOS_Pread(int fd, void *buff, size_t bytes, off_t off); ssize_t LOS_Pwrite(int fd, const void *buff, size_t bytes, off_t off); int LOS_Isatty(int fd); int LOS_Access(const char *path, int amode); int LOS_Ftruncate(int fd, off_t length); int LOS_FsUmount(const char *target); int LOS_FsUmount2(const char *target, int flag); int LOS_FsMount(const char *source, const char *target, const char *fsType, unsigned long mountflags, const void *data); int OsFcntl(int fd, int cmd, va_list ap); int OsIoctl(int fd, int req, va_list ap); Close #I65MNQ Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com> Change-Id: I3d16852ffb87ab061c22b22f5873eba384842101
-
- 06 12月, 2022 5 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !934 from Hongjin Li/fs1
-
由 openharmony_ci 提交于
Merge pull request !955 from zhushengle/cpup
-
由 openharmony_ci 提交于
Merge pull request !953 from Far/los_memory
-
由 zhushengle 提交于
Close #I5R9XG Signed-off-by: Nzhushengle <zhushengle@huawei.com> Change-Id: I07cb388732b1190943374802f792d32bd666c06e
-
由 Hongjin Li 提交于
提供CONFIG_NFILE_DESCRIPTORS宏,标识最大可打开fd数量。 提供FAT_MAX_OPEN_FILES宏,标识FAT文件系统中最大可打开fd数量。 如果只有FAT文件系统,那么CONFIG_NFILE_DESCRIPTORS等于FAT_MAX_OPEN_FILES。 如果有多个文件系统,比如fat+little+yaffs,那么CONFIG_NFILE_DESCRIPTORS应该定义为多个文件系统可打开fd数量之和。 BREAKING CHANGE: 对外提供的CONFIG_NFILE_DESCRIPTORS宏,用来标识最大可打开fd数量。 开发者可以在target_config.h中自定义CONFIG_NFILE_DESCRIPTORS和FAT_MAX_OPEN_FILES宏。 Close #I62WDU Signed-off-by: NHongjin Li <lihongjin1@huawei.com>
-
- 05 12月, 2022 3 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !952 from zhushengle/pm_timer
-
由 zhushengle 提交于
1.注释说明低功耗框架中tickLock和tickUnlock两个钩子函数的要求 2.解决极端情况下OsTickTimerBaseReset断言失败的问题 BREAKING CHANGE: 修复低功耗下时间更新缺陷对外变更描述: 低功耗启用另一个低功耗timer时: LosPmTickTimer 中tickLock函数的功能实现描述由原来的:暂停系统tick timer 修改为:关闭系统tick timer,并将timer的count值清零 LosPmTickTimer 中tickUnlock函数的功能实现描述由原来的:恢复系统tick timer 修改为:重新启动系统tick timer Close #I5O80Z Signed-off-by: Nzhushengle <zhushengle@huawei.com> Change-Id: I2ee17518e4a388ff5a1f9e3d8d7c61c81aa3e569
-
由 Far 提交于
对内核其他模块暴露OsMemNodeHead/OsMemPoolHead等结构体, 以便于对堆内存管理的调测及管理。 fix #I64ONE Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: I2e47d90412368dfdc8d82e6b30c9196e1fdf42f1
-
- 01 12月, 2022 4 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !933 from wangchen/1124_m
-
由 wangchen 提交于
方案描述: 增加注册机制, 并增加重复注册判断 BREAKING CHANGE: fs增加注册接口 新增API: int LOS_FsRegister(const char *fsType, const struct MountOps *fsMops, const struct FileOps *fsFops, const struct FsManagement *fsMgt); fix #I611L2 Signed-off-by: Nwangchen <wangchen240@huawei.com> https://gitee.com/openharmony/kernel_liteos_m/issues/I611L2
-
由 openharmony_ci 提交于
Merge pull request !947 from Hongjin Li/max_open_dirs
-
由 Hongjin Li 提交于
文件系统中使用LOSCFG_FS_FREE_HOOK代替free()来释放内存。 close #I6412J Signed-off-by: NHongjin Li <lihongjin1@huawei.com>
-
- 29 11月, 2022 4 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !937 from Hongjin Li/max_open_dirs
-
由 Hongjin Li 提交于
提供LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。新增g_dirNum静态变量,标识已打开的dir数量。 在opendir成功时g_dirNum++,在closedir成功时g_dirNum--。 BREAKING CHANGE: 新增LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。 fix: I62XEA Signed-off-by: NHongjin Li <lihongjin1@huawei.com>
-
由 openharmony_ci 提交于
Merge pull request !944 from zhushengle/arch
-
由 zhushengle 提交于
Close #I63MI5 Signed-off-by: Nzhushengle <zhushengle@huawei.com> Change-Id: I69a978aee465662a9265426975f13e57b41972ab
-
- 28 11月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !941 from Far/LOS_FS_MALLOC
-
由 openharmony_ci 提交于
Merge pull request !940 from wangchen/1128_m_part
-