Browse Source

write buffer is const

master
Mathieu Serandour 11 months ago
parent
commit
9a0ad07976
  1. 6
      kernel/drivers/storage_interface.h

6
kernel/drivers/storage_interface.h

@ -15,9 +15,9 @@ struct storage_interface {
size_t count);
void (*write)(struct driver *,
uint64_t lba,
void* buf,
size_t count);
uint64_t lba,
const void* buf,
size_t count);
unsigned capacity;

Loading…
Cancel
Save