Kernel: replaced is_partition/storage with kind

This commit is contained in:
2026-05-15 21:36:01 +03:00
committed by Bananymous
parent 5e1b5c329b
commit 1fcd72e578
5 changed files with 17 additions and 16 deletions

View File

@@ -12,9 +12,6 @@ namespace Kernel
virtual ~Device() = default;
virtual void update() {}
virtual bool is_partition() const { return false; }
virtual bool is_storage_device() const { return false; }
virtual BAN::ErrorOr<BAN::UniqPtr<MemoryRegion>> mmap_region(PageTable&, off_t offset, size_t len, AddressRange, MemoryRegion::Type, PageTable::flags_t, int status_flags)
{
(void)offset; (void)len; (void)status_flags;