diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-07-12 10:34:27 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-07-12 10:34:27 +0200 |
| commit | 22c3ba9f6ca9fff42fb9eaca255227d585f4df4c (patch) | |
| tree | a55213f2cea09ac66c06f0fa0ac2e2781f235b6c /Kernel/Sources | |
| parent | f329a17e447f12ec099f8a00fd05c055672fc451 (diff) | |
MHR-36: Add __ED__ macro.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel/Sources')
| -rw-r--r-- | Kernel/Sources/FS/NewFS.cxx | 22 | ||||
| -rw-r--r-- | Kernel/Sources/FS/compile_flags.txt | 6 |
2 files changed, 24 insertions, 4 deletions
diff --git a/Kernel/Sources/FS/NewFS.cxx b/Kernel/Sources/FS/NewFS.cxx index 5a8ff1a2..85926ff9 100644 --- a/Kernel/Sources/FS/NewFS.cxx +++ b/Kernel/Sources/FS/NewFS.cxx @@ -20,15 +20,29 @@ using namespace Kernel; +#ifdef __ED__ +/** + Define those external symbols, to make the editor shutup +*/ + +/// @brief get sector count. +Kernel::SizeT drv_std_get_sector_count(); + +/// @brief get device size. +Kernel::SizeT drv_std_get_drv_size(); + +#endif + + ///! BUGS: 0 /***********************************************************************************/ /// This file implements the New File System. /// New File System implements a B-Tree based algortihm. -/// /Disk -/// /Path1 /Path2 -/// /File.txt /File.pef /File.png <-- symlink. -/// /Path1/File.txt +/// C:\\ +/// \\Path1\\ /\\ath2\\ +/// \\readme.rtf \\ListContents.pef \\readme.lnk <-- symlink. +/// \\Path1\\readme.rtf /***********************************************************************************/ STATIC MountpointInterface sMountpointInterface; diff --git a/Kernel/Sources/FS/compile_flags.txt b/Kernel/Sources/FS/compile_flags.txt new file mode 100644 index 00000000..39b236a9 --- /dev/null +++ b/Kernel/Sources/FS/compile_flags.txt @@ -0,0 +1,6 @@ +-nostdlib +-ffreestanding +-std=c++20 +-I./ +-I../ +-D__ED__ |
