From 7b4bd3577a31d0f0adc7371840642791ae1567f4 Mon Sep 17 00:00:00 2001 From: Amlal Date: Fri, 24 Jan 2025 10:38:36 +0100 Subject: ADD: Open version, with important changes kept out. Signed-off-by: Amlal --- dev/Mod/MFlash/MFlash.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev/Mod/MFlash/MFlash.h (limited to 'dev/Mod/MFlash') diff --git a/dev/Mod/MFlash/MFlash.h b/dev/Mod/MFlash/MFlash.h new file mode 100644 index 00000000..05cfb2c8 --- /dev/null +++ b/dev/Mod/MFlash/MFlash.h @@ -0,0 +1,21 @@ +/* ------------------------------------------- + + Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved. + +------------------------------------------- */ + +#pragma once + +#ifdef ZKA_USE_MBCI_FLASH + +#include + +Kernel::SizeT drv_get_sector_count(Kernel::Int32 slot); + +Kernel::SizeT drv_get_size(Kernel::Int32 slot); + +Kernel::Void drv_enable_at(Kernel::Int32 slot); + +Kernel::Void drv_disable_at(Kernel::Int32 slot); + +#endif // ifdef ZKA_USE_MBCI_FLASH -- cgit v1.2.3