删除一些过时的C代码 (#565)

* 删除C版本的crc库

* 删除lockref

* 删除过时的libc文档以及wait.c

* 删除过时的C版本kfifo代码及文档

* 移除未用到的lz4库

* 删除内核的stdlib.c

* 删除fabs.c

* fmt

* 使得put_string系统调用能够通过tty输出颜色
暂且这样改,这一部分应该是用户层面提供的功能,后续删除

---------

Co-authored-by: GnoCiYeH <heyicong@dragonos.org>
This commit is contained in:
LoGin
2024-03-08 23:22:48 +08:00
committed by GitHub
parent 5eeefb8c80
commit c3dc6f2ff9
55 changed files with 20 additions and 6281 deletions

26
.vscode/settings.json vendored
View File

@ -1,6 +1,5 @@
{
"files.associations": {
"stdlib.h": "c",
"stdbool.h": "c",
"printk.h": "c",
"stdarg.h": "c",
@ -12,11 +11,8 @@
"memory.h": "c",
"multiboot2.h": "c",
"kprint.h": "c",
"8259a.h": "c",
"ptrace.h": "c",
"mouse.h": "c",
"keyboard.h": "c",
"ps2_keyboard.h": "c",
"algorithm": "c",
"array": "c",
"atomic": "c",
@ -95,22 +91,17 @@
"spinlock.h": "c",
"stat.h": "c",
"video.h": "c",
"libm.h": "c",
"ahci.h": "c",
"slab.h": "c",
"boot_info.h": "c",
"pci.h": "c",
"time.h": "c",
"ia64_msi.h": "c",
"errno.h": "c",
"bug.h": "c",
"sched.h": "c",
"preempt.h": "c",
"screen_manager.h": "c",
"textui.h": "c",
"atomic.h": "c",
"uart.h": "c",
"fat_ent.h": "c",
"semaphore.h": "c",
"mm-types.h": "c",
"current.h": "c",
@ -120,27 +111,12 @@
"mutex.h": "c",
"mount.h": "c",
"internal.h": "c",
"devfs.h": "c",
"devfs-types.h": "c",
"chardev.h": "c",
"rootfs.h": "c",
"tty.h": "c",
"idr.h": "c",
"ktest_utils.h": "c",
"kthread.h": "c",
"lockref.h": "c",
"compiler_attributes.h": "c",
"timer.h": "c",
"hid.h": "c",
"proc.h": "c",
"compiler.h": "c",
"hpet.h": "c",
"numa.h": "c",
"procfs.h": "c",
"err.h": "c",
"rtc.h": "c",
"list.h": "c",
"fat32.h": "c",
"irqflags.h": "c",
"dirent.h": "c",
"cmd_help.h": "c",
@ -155,7 +131,6 @@
"cmd.h": "c",
"sleep.h": "c",
"net.h": "c",
"lz4.h": "c",
"cmd_test.h": "c",
"cmpxchg.h": "c",
"mman.h": "c",
@ -165,7 +140,6 @@
"charconv": "c",
"printf.h": "c",
"klog.h": "c",
"sqlite3ext.h": "c",
"malloc.h": "c",
"*.o": "c",
"k_log.h": "c"