Files
MentOS/mentos/inc/drivers/mem.h
T
Florian Fischer 3bf6119030 drivers: implement memory device driver
The first and only memory device mounted at /dev/null discards all data
written to it and always returns 0 bytes when read.
2024-02-29 17:59:24 +01:00

19 lines
427 B
C

/// @file mem.h
/// @brief Drivers for memory devices
/// @copyright (c) 2024 This file is distributed under the MIT License.
/// See LICENSE.md for details.
/// @addtogroup drivers Device Drivers
/// @{
/// @addtogroup mem Memory devices
/// @brief Drivers for memory devices.
/// @{
#pragma once
/// @brief Initializes the memory devices.
/// @return 0 on success, 1 on error.
int mem_devs_initialize(void);
/// @}
/// @}