rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
null_device.h
Go to the documentation of this file.
1/**
2 * @file zero_device.cpp
3 *
4 * @date Feb 12, 2021
5 * @author Matthew Kennedy, (c) 2021
6 *
7 * This file implements a special block device that simply reports "no media"
8 * Use it when you need to mount *something* but don't have an SD card available.
9 */
10
11#include "hal.h"
12
13struct NullDevice {
14 const struct BaseBlockDeviceVMT *vmt;
15 _base_block_device_data
16};
17
18extern NullDevice ND1;
NullDevice ND1