mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 18:33:23 +00:00
调整:devfs注册设备后,返回指向inode私有信息的指针
This commit is contained in:
@ -14,6 +14,7 @@ void devfs_init();
|
||||
* @param device_type 设备主类型
|
||||
* @param sub_type 设备子类型
|
||||
* @param file_ops 设备的文件操作接口
|
||||
* @param ret_private_inode_info_ptr 返回的指向inode私有信息结构体的指针
|
||||
* @return int 错误码
|
||||
*/
|
||||
int devfs_register_device(uint16_t device_type, uint16_t sub_type, struct vfs_file_operations_t *file_ops);
|
||||
int devfs_register_device(uint16_t device_type, uint16_t sub_type, struct vfs_file_operations_t *file_ops, struct devfs_private_inode_info_t **ret_private_inode_info_ptr);
|
Reference in New Issue
Block a user