mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
将具体磁盘类型与fat32文件系统进行分离
This commit is contained in:
10
kernel/common/block.h
Normal file
10
kernel/common/block.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "blk_types.h"
|
||||
|
||||
/**
|
||||
* @brief 将磁盘注册到块设备框架中
|
||||
*
|
||||
* @param gendisk 磁盘结构体
|
||||
* @return int 错误码
|
||||
*/
|
||||
int blk_register_gendisk(struct blk_gendisk * gendisk);
|
Reference in New Issue
Block a user