summaryrefslogtreecommitdiffhomepage
path: root/dev/Modules/Flash/Flash.h
blob: 01fe79571cb7582a4a93f59554c21510c698b327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* -------------------------------------------

	Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.

------------------------------------------- */

#pragma once

#ifdef __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 __USE_MBCI_FLASH__