Commit Graph

449 Commits

Author SHA1 Message Date
Meco Man fa3d95bb1c [libc][syscall]整理函数格式 2021-06-23 01:37:41 +08:00
guo 6f1a505cd2
Merge pull request #4801 from mysterywolf/delay2
implement delay.c/.h
2021-06-21 17:14:05 +08:00
Meco Man 56e3571e8a implement delay.c/.h 2021-06-16 14:15:31 +08:00
Meco Man 6697fa0ff5 [sleep] 加入调度器尚未运行时的延时情况 2021-06-16 12:16:11 +08:00
Bernard Xiong ac50f5193e
Merge pull request #4792 from mysterywolf/ioctl
[libc][rtlibc] remove libc_ioctl.h
2021-06-16 09:46:06 +08:00
guozhanxin 66b7289ee7 [update] usleep supports calling in interrupts. 2021-06-15 18:37:39 +08:00
Meco Man 5bb6e86cf5 [sys/errno.h] 修复armclang支持问题 2021-06-13 17:27:16 +08:00
Meco Jianting Man 4fd4074617 Merge branch 'RT-Thread:master' into ioctl 2021-06-13 16:19:59 +08:00
Meco Man f94980af34 solve conflict 2021-06-13 12:45:04 +08:00
Meco Man 740a810274 [errno][libc] 解决sys头文件在libc未开启时的引入问题 2021-06-12 18:11:51 +08:00
Meco Man 07cab33b50 add sys/ioctl.h for pipe.c 2021-05-23 00:30:29 +08:00
Meco Man 5bce564738 add sys/ioctl.h for posix_termios.h 2021-05-23 00:25:49 +08:00
Meco Man 0e32728a5d [libc][rtlibc] remove libc_ioctl.h 2021-05-23 00:17:08 +08:00
Meco Man b10bef6f24 [sys/errno.h] 修复lwip报错 2021-05-22 03:20:01 +08:00
Meco Man 0e0e2a0f95 fix warning of posix_signal 2021-05-22 02:56:53 +08:00
Meco Man a5f7635f31 remove libc_errno.h & libc_limits.h 2021-05-22 02:50:35 +08:00
Bernard Xiong 6cb1d4efcc
Merge pull request #4693 from mysterywolf/sim-sconcsript
[libc][bug] 修复在simulator win32平台下,none-gcc文件夹路径没有添加到工程的bug
2021-05-16 08:56:29 +08:00
Meco Man cbcd9fe15e [POSIX] beautify Kconfig 2021-05-16 00:02:58 +08:00
Meco Man d9abe8fa30 修复在simulator win32平台下,nonegcc文件夹路径没有添加到工程的bug 2021-05-15 21:27:31 +08:00
Meco Man dfb8df71c9 [libc]修复因libc移除sys/errno.h文件导致的报错 2021-05-12 14:17:17 +08:00
Meco Man 8fee8d2c8c remove const in set_timeval 2021-05-03 09:17:46 +08:00
Meco Man 1a55702ccb 修复DST_NONE 等宏定义位置放错导致报错的问题 2021-05-02 09:38:41 +08:00
Meco Man 3f74758f31 将<sys/time>改为"sys/time.h" 2021-05-02 09:29:46 +08:00
Meco Man 8ec1a63b23 增加tz_dsttime类型定义 2021-05-02 09:24:41 +08:00
Meco Man 47de526525 精简settimeofday代码;
在Linux中settimeofday以及gettimeofday函数的时区功能已经被废弃,因此增加注释予以提示。
gettimeofday实现了tz_minuteswest功能,tz_dsttime功能未实现,按废弃处理;
settimeofday时区功能废弃。
2021-05-01 16:22:27 +08:00
Meco Man 6fa385b987 [time] 补充注释 2021-05-01 14:23:50 +08:00
Meco Man f4015029d2 gettimeofday()函数支持时区;规范set_timeval/get_timeval函数返回值 2021-05-01 14:18:46 +08:00
Bernard Xiong be3b5a950f
Merge pull request #4653 from mysterywolf/fixed-timezone
[libc][time]增加手动设置固定时区的功能
2021-05-01 10:58:24 +08:00
Bernard Xiong beb2f046c4
Merge pull request #4649 from mysterywolf/libc2
[libc][time] remove _TIMESPEC_DEFINED in common/sys/time.h and complete time.c
2021-05-01 10:58:10 +08:00
Meco Man a611a66864 精简代码 2021-05-01 06:08:14 +08:00
Meco Man 65984a7116 add comment 2021-05-01 06:06:03 +08:00
Meco Man 0aa3b80fc3 在time.c中增加RT_LIBC_FIXED_TIMEZONE默认值,防止有些工程没有配置RT_LIBC_FIXED_TIMEZONE 2021-05-01 06:03:46 +08:00
Meco Man a7a3ca9f02 增加手动设置时区的功能 2021-05-01 05:52:55 +08:00
Bernard Xiong 072899e137
Merge pull request #4636 from chunyexixiaoyu/dev
dlmodule can support riscv architecture
2021-04-29 14:36:45 +08:00
Meco Jianting Man 1627597fcc
remove _TIMESPEC_DEFINED 2021-04-29 04:42:11 +08:00
Meco Jianting Man 82f2d8e53d
time.c 删除函数名与括号之间的空格 2021-04-29 00:21:10 +08:00
Meco Man 850e1aeb52 [libc][time] 细微调整time.c 2021-04-28 13:03:43 +08:00
chunyexixiaoyu 2afca00787 [ADD]riscv.c dlmodule can support riscv architecture
[CHG]dlelf.c support distinguishing 32-bit ELF format and 64-bit ELF format
2021-04-27 21:24:42 +08:00
Meco Man cb7fa8fcea implement pid_t gettid(void) 2021-04-26 14:34:26 +08:00
Meco Man 19347ed454 [libc][unistd] 完善isatty() 2021-04-26 14:31:31 +08:00
Meco Man ae66d82624 update sconscript 2021-04-25 21:32:08 +08:00
Meco Man f9ba41f4c2 更改libc目录为common 以及 none-gcc 2021-04-25 21:10:31 +08:00
Meco Man c871726e89 update readme 2021-04-21 02:16:29 +08:00
Meco Man 40c09fc1e0 重新分类为common文件夹下属all文件夹和excgcc文件夹 2021-04-21 00:56:36 +08:00
Meco Man 926cd86589 remove dlib and armlibc sys folder 2021-04-18 01:36:35 +08:00
Meco Man bc25c8a6e8 update sconscript 2021-04-18 00:55:32 +08:00
Meco Man 9d401ea8b0 重新整理libc重复共用文件,创建common_for_all 和 common_for_keiliar 2021-04-18 00:51:07 +08:00
Meco Man 46d51a99f1 优化get_timeval set_timeval 条件编译代码结构 2021-04-15 16:34:09 +08:00
Meco Man b74022e2c4 mktime support fixed timezone 2021-04-15 14:31:23 +08:00
Meco Man 8e2a456d7a implement set_timeval 2021-04-15 14:01:55 +08:00