position: block page address, not bytes address * buffer: * size : how many blocks */
| 302 | * size : how many blocks |
| 303 | */ |
| 304 | static rt_ssize_t rt_floppy_write(rt_device_t device, rt_off_t position, const void *buffer, rt_size_t size) |
| 305 | { |
| 306 | rt_mutex_take(&lock, RT_WAITING_FOREVER); |
| 307 | panic("FIXME:I don't know how!\n"); |
| 308 | rt_mutex_release(&lock); |
| 309 | return size; |
| 310 | } |
| 311 | |
| 312 | static rt_err_t rt_floppy_control(rt_device_t dev, int cmd, void *args) |
| 313 | { |
nothing calls this directly
no test coverage detected