1
0

2 Ревизии ffc7a180d4 ... ea629feec9

Автор SHA1 Съобщение Дата
  greatbridf ea629feec9 rewrite(ahci): rewrite ahci module with rust преди 2 месеца
  greatbridf ffc7a180d4 rewrite(ahci): rewrite ahci module with rust преди 2 месеца
променени са 1 файла, в които са добавени 0 реда и са изтрити 13 реда
  1. 0 13
      include/kernel/vfs.hpp

+ 0 - 13
include/kernel/vfs.hpp

@@ -20,19 +20,6 @@ constexpr dev_t make_device(uint32_t major, uint32_t minor) {
     return ((major << 8) & 0xFF00U) | (minor & 0xFFU);
 }
 
-// buf, buf_size, offset, cnt
-using blkdev_read =
-    std::function<ssize_t(char*, std::size_t, std::size_t, std::size_t)>;
-
-// buf, offset, cnt
-using blkdev_write =
-    std::function<ssize_t(const char*, std::size_t, std::size_t)>;
-
-struct blkdev_ops {
-    blkdev_read read;
-    blkdev_write write;
-};
-
 // buf, buf_size, cnt
 using chrdev_read = std::function<ssize_t(char*, std::size_t, std::size_t)>;