summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/MFlash/MFlash.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-28 05:03:47 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-28 05:06:33 +0100
commiteb5271c14e02aab956ab53f5e74290bca495e2ff (patch)
tree2fb4fd88baa4b67852ac8ae13a02cad274d4693c /dev/Mod/MFlash/MFlash.h
parent46a2b68fa4d69df59b21afb04d5382293f005137 (diff)
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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod/MFlash/MFlash.h')
-rw-r--r--dev/Mod/MFlash/MFlash.h21
1 files changed, 21 insertions, 0 deletions
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 <NewKit/Defines.h>
+
+/// @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