1
0

2 Commity ffc7a180d4 ... ea629feec9

Autor SHA1 Správa Dátum
  greatbridf ea629feec9 rewrite(ahci): rewrite ahci module with rust 2 mesiacov pred
  greatbridf ffc7a180d4 rewrite(ahci): rewrite ahci module with rust 2 mesiacov pred
1 zmenil súbory, kde vykonal 0 pridanie a 13 odobranie
  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)>;