- 29 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !981 from Zhaotianyu/cherry-pick-1672302591
-
https://gitee.com/arvinzzz/kernel_liteos_m/pulls/979由 arvinzzz 提交于
fix: The tm struct obtained by mktime lacks timezone information 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
-
- 26 12月, 2022 1 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !976 from Far/monthly_20221018
-
- 24 12月, 2022 1 次提交
-
-
由 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 #I677ZT Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: I92a752fe2bcdd2b036630b5e4e8d7df1562629e0
-
- 23 12月, 2022 1 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !975 from Zhaotianyu/cherry-pick-1671695812
-
- 22 12月, 2022 3 次提交
-
-
https://gitee.com/arvinzzz/kernel_liteos_m/pulls/974由 arvinzzz 提交于
fix: 修复misc_config中defines未初始化的错误 Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com> Change-Id: I4eecfc1af2b0cdc39922a8ce299eb8ab6b7c6e8c
-
由 openharmony_ci 提交于
Merge pull request !967 from Far/monthly_20221018_lock
-
由 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 #I66A1M Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: I2d7b67a209049162cd69f8ef3611ab0431df4d4a
-
- 19 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !970 from wangchen/1217_1018
-
由 openharmony_ci 提交于
Merge pull request !964 from Far/monthly_20221018
-
- 17 12月, 2022 2 次提交
-
-
由 wangchen 提交于
方案描述: 1, 修改路径正确时打开失败可能的异常 fix #I66KHK Signed-off-by: Nwangchen <wangchen240@huawei.com>
-
由 Far 提交于
1. close未考虑保留描述符0、1和2,导致fd合法性判断出现错误,这会导致 上限附近的fd不能被正常的关闭 2. 释放file结构体时未在锁的保护中进行,可能存在问题 fix #I66F6I Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: I084c7e0e9cfc51a123ebad07d0c94f47e544baa6
-
- 16 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 #I66F6I Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com>
-
- 09 12月, 2022 1 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !961 from zhangdengyu/monthly_20221018
-
- 08 12月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !956 from zhushengle/cherry-pick-1670312099
-
由 zhangdengyu 提交于
方案描述: 1. 新增mutex trace Close: I5ZMML Signed-off-by: Nzhangdengyu <zhangdengyu2@huawei.com>
-
- 07 12月, 2022 3 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !959 from Hongjin Li/cherry-pick-1670397258
-
由 openharmony_ci 提交于
Merge pull request !951 from Hongjin Li/monthly_20221018
-
https://gitee.com/hongjin-li/kernel_liteos_m/pulls/934由 Hongjin Li 提交于
fix: 提供CONFIG_NFILE_DESCRIPTORS宏标识最大可打开fd数量 提供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>
-
- 06 12月, 2022 4 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !954 from Far/monthly_20221018
-
由 openharmony_ci 提交于
Merge pull request !936 from wangchen/1124_1030
-
由 openharmony_ci 提交于
Merge pull request !946 from wangchen/1129_x_partit
-
https://gitee.com/zhushengle/kernel_liteos_m/pulls/955由 zhushengle 提交于
feat: 优化CPUP计算方式, 解耦系统调频 Close #I5R9XG Signed-off-by: Nzhushengle <zhushengle@huawei.com> Change-Id: I07cb388732b1190943374802f792d32bd666c06e
-
- 05 12月, 2022 1 次提交
-
-
由 Far 提交于
对内核其他模块暴露OsMemNodeHead/OsMemPoolHead等结构体, 以便于对堆内存管理的调测及管理。 fix #I64OVX Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: I603188722beaf67ba65e26ed93168617485e770a
-
- 01 12月, 2022 2 次提交
-
-
由 wangchen 提交于
方案描述: 增加注册机制, 并增加重复注册判断 BREAKING CHANGE: 挑单 fs增加注册接口 到1030 新增API: int LOS_FsRegister(const char *fsType, const struct MountOps *fsMops, const struct FileOps *fsFops, const struct FsManagement *fsMgt); fix #I62WMS Signed-off-by: Nwangchen <wangchen240@huawei.com> https://gitee.com/openharmony/kernel_liteos_m/issues/I62WMS
-
由 Hongjin Li 提交于
提供LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。新增g_dirNum静态变量,标识已打开的dir数量。 在opendir成功时g_dirNum++,在closedir成功时g_dirNum--。 BREAKING CHANGE: 新增LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。 Close #I641DZ Signed-off-by: NHongjin Li <lihongjin1@huawei.com>
-
- 29 11月, 2022 2 次提交
-
-
由 wangchen 提交于
方案描述: 1,删除fat分区时调用的adddevice的动作 fix #I63QXK Signed-off-by: Nwangchen <wangchen240@huawei.com>
-
由 openharmony_ci 提交于
Merge pull request !942 from Far/monthly_20221018
-
- 28 11月, 2022 1 次提交
-
-
由 Far 提交于
增加LOS_FS_MALLOC/LOS_FS_FREE宏以提供用户配置动态内存分配器的能力。 用户只需要在components/fs/vfs/los_fs.h中修改对应的函数即可。 BREAKING CHANGE: 文件系统提供动态内存分配器钩子 新增宏: LOS_FS_MALLOC LOS_FS_FREE fix #I63IZ8 Signed-off-by: NFar <yesiyuan2@huawei.com> Change-Id: Ia18cbf907709dbfaa1bbc4e779537ec8e659a0ec
-
- 23 11月, 2022 3 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !931 from yinjiaming/cherry-pick-1669172283
-
https://gitee.com/hgbveiu743/kernel_liteos_m/pulls/930由 yinjiaming 提交于
Fix: 内核告警清理 消除了多余的空格 Signed-off-by: Nyinjiaming <yinjiaming@huawei.com> Change-Id: Ibe90fcf8c46ef9a60c0a8f4dbba07d399e139b8c
-
由 openharmony_ci 提交于
Merge pull request !926 from 乔克叔叔/cherry-pick-1669000234
-
- 21 11月, 2022 3 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !924 from 乔克叔叔/cherry-pick-1668998063
-
https://gitee.com/wenxin-liu_admin/kernel_liteos_m/pulls/892由 liuwenxin 提交于
Fix:m核告警清理 Signed-off-by: Nliuwenxin <liuwenxin11@huawei.com>
-
https://gitee.com/wenxin-liu_admin/kernel_liteos_m/pulls/917由 liuwenxin 提交于
fix:告警清理 Signed-off-by: Nliuwenxin <liuwenxin11@huawei.com>
-
- 19 11月, 2022 1 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !920 from Hongjin Li/cherry-pick-1668687992
-
- 18 11月, 2022 2 次提交
-
-
由 openharmony_ci 提交于
Merge pull request !923 from wangchen/1118_1030_m
-
由 wangchen 提交于
【背景】其他分区已mount时会引起格式化失败至monthly_20221018 【修改方案】 1, 格式化时判断方式修改为路径 【影响】 对现有的产品编译不会有影响。 re #I61W0J Signed-off-by: Nwangchen <wangchen240@huawei.com>
-
- 17 11月, 2022 2 次提交
-
-
https://gitee.com/hongjin-li/kernel_liteos_m/pulls/919由 Hongjin Li 提交于
fix: add space after comma Signed-off-by: NHongjin Li <lihongjin1@huawei.com>
-
由 openharmony_ci 提交于
Merge pull request !914 from Far/cherry-pick-1668503371
-