From eb5271c14e02aab956ab53f5e74290bca495e2ff Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 28 Dec 2024 05:03:47 +0100 Subject: See details of commit. IMPL: Better Bootloader architecture. FIX: Remove overcomplicated FbMgr code. IMPL: Implement the SwapMgrDisk function to dump process data to disk. FIX: Fix the format system in Boot. Signed-off-by: Amlal El Mahrouss --- 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..9f5d4117 --- /dev/null +++ b/dev/Mod/MFlash/MFlash.h @@ -0,0 +1,21 @@ +/* ------------------------------------------- + + Copyright (C) 2024, Theater Quality Inc, all rights reserved. + +------------------------------------------- */ + +#pragma once + +#ifdef ZKA_USE_MBCI_FLASH + +#include + +/// @brief get sector count. +/// @return drive sector count. +Kernel::SizeT drv_get_sector_count(); + +/// @brief get device size. +/// @return drive size +Kernel::SizeT drv_get_size(); + +#endif // ifdef ZKA_USE_MBCI_FLASH -- cgit v1.2.3