mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
Kernel: Make major and minor numbers to be DistinctNumerics
This helps avoid confusion in general, and make constructors, methods and code patterns much more clean and understandable.
This commit is contained in:
parent
6d14940053
commit
9eb08bdb0f
24 changed files with 70 additions and 52 deletions
|
@ -29,8 +29,8 @@ public:
|
|||
|
||||
NonnullRefPtr<FileSystem> root_filesystem() const;
|
||||
|
||||
static int major_number();
|
||||
static int minor_number();
|
||||
static MajorNumber storage_type_major_number();
|
||||
static MinorNumber generate_storage_minor_number();
|
||||
|
||||
void remove_device(StorageDevice&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue