1125 Commits

Author SHA1 Message Date
954dd0a906 Merge remote-tracking branch 'upstream/feat-network-rebuild'
into feat-network-rebuild
2024-10-17 07:58:51 +00:00
acd348572d fmt 2024-10-17 07:49:55 +00:00
c9806be704 loopback assign single ip, remove unnecessary comments 2024-10-17 07:41:46 +00:00
149fc8377c remove unnecessary warnings and impls 2024-10-17 07:25:17 +00:00
7cd11b4ff8
feat: remove syscall prettier printing (#988)
* 重新组织代码分布

* remove unused imports

* fix it back to old syscall printing style

* regulate naming to posix

* todo: socket close 及 port 接触占用

* fix: format check
2024-10-17 14:46:35 +08:00
6c812d2607 fix: format check 2024-10-17 06:45:35 +00:00
251e1bca41 todo: socket close 及 port 接触占用 2024-10-17 06:39:49 +00:00
ddad6b11a1 regulate naming to posix 2024-10-17 06:28:53 +00:00
b9f27f44e4 fix it back to old syscall printing style 2024-10-17 06:05:49 +00:00
de148a1dd6 remove unused imports 2024-10-16 08:15:04 +00:00
ce8026c0d4 merge upstream/net 2024-10-16 07:48:57 +00:00
4736fad057 重新组织代码分布 2024-10-16 07:48:05 +00:00
10e62c7a47
Merge pull request #980 from val213/feat-network-rebuild
remove(uevent): 将 netlink/uevent 机制从网络子分支中暂时移除
2024-10-16 15:47:35 +08:00
val213
886504ff9b remove uevent test 2024-10-16 12:33:40 +08:00
val213
b9f04fc3a4 merge upstream 2024-10-16 12:32:37 +08:00
val213
7025b76ef9 fmt 2024-10-16 12:23:47 +08:00
val213
4a2b5932cc remove uevent and netlink 2024-10-16 12:10:12 +08:00
val213
d7be7deebc 清理积弊,不必要的动态分发和智能指针 2024-10-15 23:06:41 +08:00
91f24d461d
Merge pull request #976 from Samuka007/feat-network-rebuild
feat: merge master and ready for pr in master
2024-10-14 20:36:50 +08:00
63ccb53a91 merge master 2024-10-14 12:27:38 +00:00
9a1fe0f989
Merge pull request #974 from Samuka007:feat-network-rebuild
clean format, enable ctrl-c in accept blocking
2024-10-14 20:23:46 +08:00
bca536ec9b clean debug messages 2024-10-14 12:20:46 +00:00
8fe49e190e make fmt 2024-10-14 12:11:27 +00:00
7cebb88792 can ctrl-c interupt from blocking accept 2024-10-14 12:01:32 +00:00
2e98aea6f5 Merge remote-tracking branch 'upstream/feat-network-rebuild' into feat-network-rebuild 2024-10-14 11:11:09 +00:00
val213
b781eaaa97 Merge remote-tracking branch 'upstream/feat-network-rebuild' into uevent-network-rebuild 2024-10-14 16:18:12 +08:00
Val213
38d161ccfe
feat: 支持 sysfs下 block, char, Net, rtc, tty 等类型设备的 uevent 文件读操作 (#973)
* 新增CommonAttrGroup,基本支持sysfs下各种类型设备的uevent属性文件的读测试

* 修改net设备的uevent内容,使之与Linux语义一致

* 删除无用注释
2024-10-14 13:07:37 +08:00
val213
49000bcc05 删除无用注释 2024-10-14 12:35:35 +08:00
val213
e67348c9b6 修改net设备的uevent内容,使之与Linux语义一致 2024-10-14 00:24:52 +08:00
LoGin
f9fe30be89
feat(boot): 内核启动命令行参数解析 (#969)
支持解析启动命令行参数,行为与Linux一致。具体见文档。

bbs链接:https://bbs.dragonos.org.cn/t/topic/362
issue: https://github.com/DragonOS-Community/DragonOS/issues/865

支持了三种参数:
- Arg (不带Value的参数)
- KV (正常的KV参数)
- EarlyKV (在内存管理初始化之前解析)

# TODO

- 支持在`/proc/cmdline`下面查看内核启动时的命令行参数。
- 支持回调函数,允许更加灵活的设置参数的值(目前用不到,就没写了)

Signed-off-by: longjin <longjin@DragonOS.org>
2024-10-13 23:39:55 +08:00
val213
178486f1e5 新增CommonAttrGroup,基本支持sysfs下各种类型设备的uevent属性文件的读测试 2024-10-13 22:22:34 +08:00
GnoCiYeH
c709f79fda
feat(tty): 将tty设备适配epoll,修改串口部分问题 (#968)
- tty文件适配epoll,使epoll能够监听tty
- 修改串口handle_irq,原有每次只读取一个字节会导致:输入left(esc+[+A)被错误解析为(esc)+([)+(A)三个字符
- 为串口加上vcdata用于控制输入输出的格式问题(未解决,这个pr捎带)
2024-10-13 01:10:36 +08:00
LoGin
40db1e61da
ci: add-bpf-linker-to-ci-image (#972)
Signed-off-by: longjin <longjin@DragonOS.org>
2024-10-12 01:20:43 +08:00
Jomo
53629ac383
feat: 释放slab中的空闲页面到buddy (#932)
* patch: 释放slab中的空闲页面到buddy

* 校验释放的slab_page的起始地址与大小 & SCAllcator增加空闲块计数器
2024-10-12 00:57:16 +08:00
val213
4e4ce68e03 updates uevent and make fmt 2024-10-11 23:56:12 +08:00
40d9375b6b
ready for merge in master (#964)
uevent should be format

Enum of smoltcp socket should be optimized.

need to add interface for routing subsys

actix is still not abled to run.

clean some casual added code to other places
2024-10-10 17:53:39 +08:00
LoGin
79eda4bcf9
ci: fix docker run failed (#961)
Signed-off-by: longjin <longjin@DragonOS.org>
2024-10-10 03:06:48 +08:00
LoGin
056c4aad81
ci: auto build docker images (#960) 2024-10-10 01:31:59 +08:00
LoGin
415e46ea47
build: Remove DragonOS_GCC And make CI use docker image (#954)
* build: 不再需要x86_64-elf-gcc的支持
* ci: 添加ci用的docker镜像
* 切换workflow到构建用的容器上

---------

Signed-off-by: longjin <longjin@DragonOS.org>
2024-10-10 00:59:50 +08:00
黄铭涛
1bd12bc2ff
fix(driver/net): 修复iface设备无法中断的bug (#957) 2024-10-09 21:44:12 +08:00
LoGin
59a6bcf6ae
feat: Add HVM boot support for x86_64 (#953)
Signed-off-by: longjin <longjin@DragonOS.org>
2024-10-09 21:36:18 +08:00
MemoryShore
a8753f8fff
feat(tty): 实现发送SIGINT终止信号 (#952)
* 实现SIGINT终止信号传递

* 添加test_sigint测试程序
2024-10-09 19:02:14 +08:00
Jomo
52dc4c3ee8
fix: 修复root用户信息未正确换行的问题 (#955) 2024-10-07 23:45:52 +08:00
MemoryShore
40d05bcc99
修复vnc启动失败的问题 (#951) 2024-10-01 19:44:17 +08:00
LoGin
d031d46fd9
feat: 添加serial console,支持non-graphic启动 (#947)
Signed-off-by: longjin <longjin@dragonos.org>
2024-10-01 11:35:48 +08:00
MemoryShore
103f13024b
修复tcsetpgrp函数设置进程组不正确的问题 (#950) 2024-09-30 21:19:31 +08:00
LoGin
047dbfd44b
fix(kbd): 修复键盘命令解析器生成的字节码与Linux不一致的问题 (#946)
Signed-off-by: longjin <longjin@dragonos.org>
2024-09-29 03:15:21 +08:00
LoGin
920bda5958
doc: 添加在github上编辑的按钮,以及扩展footer (#940)
Signed-off-by: longjin <longjin@DragonOS.org>
2024-09-25 23:53:23 +08:00
LoGin
09dacded09
doc: add commit revision to footer while build with sphinx-multiversion (#939)
Signed-off-by: longjin <longjin@DragonOS.org>
2024-09-25 22:53:31 +08:00
LoGin
013ffb708f
feat(ida): IDA内部改为使用XArray实现 (#934)
目前可以记录哪些ID已经分配,支持了ID释放的功能.

Signed-off-by: longjin <longjin@DragonOS.org>
2024-09-25 11:20:52 +08:00