1.描述符改为动态检查,移除获取路径等独立函数,仅保留验证描述符是否有效的独立接口。

2.修改ioctl操作成功后返回值为操作字节数。
3.新增获取sflags、oflags、path命令。
This commit is contained in:
MacRsh
2024-01-16 04:10:08 +08:00
parent 8abdd4d218
commit d45995369e
5 changed files with 218 additions and 164 deletions

View File

@@ -92,6 +92,12 @@ menu "Device configure"
help
"This option sets the max number of descriptors."
config MR_USING_DESC_CHECK
bool "Use descriptor available check"
default y
help
"Use this option to allow you to check whether the descriptor is available."
config MR_USING_RDWR_CTL
bool "Use read/write control"
default y