Commit Graph

76 Commits

Author SHA1 Message Date
Zihao Yu f303137685 libs,klib,string: remove assert
* assert will introduce printf in some cputest, increasing the
  complexity of the binary
2017-07-23 11:48:05 +08:00
rtt fa7ca39d52 给myputc增加参数使得snprintf中大于n的部分不得拷贝 2017-07-18 09:38:17 -07:00
rtt 040a9182db 优化printdec的代码,去除冗余 2017-07-18 08:32:06 -07:00
Yanyan Jiang 1042a17521 Merge branch 'refactor-klib' into 'master'
修复输出数字0的时候flag不起作用的bug

See merge request !112
2017-07-18 22:43:29 +08:00
rtt 6a9fea8da8 修复输出数字0的时候flag不起作用的bug 2017-07-18 05:33:14 -07:00
Yanyan Jiang bd751754d9 Merge branch 'refactor-klib' into 'master'
Refactor klib

See merge request !107
2017-07-11 10:52:05 +08:00
rtt add0d41f2b 修复vprintk返回值错误问题 2017-07-10 11:57:30 -07:00
Yanyan Jiang 56374b313f change type to stdint 2017-06-26 11:53:15 -04:00
rtt 6f9ca7e09c Merge branch 'refactor-klib' of https://git.njuics.cn/syslab17/nexus-am into refactor-klib 2017-06-15 06:32:18 -07:00
rtt 4a48a12627 printk test 完成基本类型 2017-06-15 06:31:26 -07:00
yzh 4faadff5f9 klib,string: use uint64_t and loop unrolling to speedup memcpy() and memset() 2017-06-15 17:59:51 +08:00
yzh 22c88ad33c klib,string; fix gcc misleading-indentation wanring 2017-06-15 17:59:00 +08:00
yzh 5fe9f5150a klib,string: accelerate memset() by with 4-byte operations 2017-06-14 18:29:16 +08:00
yzh 289194f003 klib,string: accelerate memcpy() with 4-byte operations 2017-06-14 18:27:27 +08:00
rtt 1849b220d5 修正printk不输出的问题 2017-06-12 05:56:37 -07:00
rtt 81be2eeabe 测试hellostr成功 2017-06-11 07:22:33 -07:00
rtt 2569da88c7 去掉sprintf的全局变量。更新了测试用例,测试用例还是输出来比较 2017-06-08 12:10:43 -07:00
rtt bd57b1bd4c 修复snprintk的0的错误 2017-06-07 23:14:59 -07:00
rtt b978fc267e add assert in klibtestcase 2017-06-05 07:54:30 -07:00
rtt 9c9fdeaa5f 改回原来的print,新的bug调完再传 2017-06-03 09:17:28 -07:00
rtt 5f7b264a84 处理冲突 2017-06-03 09:05:57 -07:00
Yanyan Jiang 217028260b use klib in cputests 2017-05-30 23:32:42 -04:00
Yanyan Jiang 60c3444ed8 standalone libs 2017-05-29 16:42:47 +08:00
Yanyan Jiang e6d7fa9072 use klib include 2017-05-29 16:02:27 +08:00
Yanyan Jiang bb11817501 remove api calls 2017-05-29 15:26:03 +08:00
Yanyan Jiang e720196bcb move files 2017-05-28 02:39:41 -04:00