summaryrefslogtreecommitdiffhomepage
path: root/Private/NewKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-05 15:50:15 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-05 15:50:15 +0100
commite1d27e30997b45acf9dade9c03278b02f1021e98 (patch)
treed0d291a43e8dcd0f664f552ad017555447a3d7d8 /Private/NewKit
parentb3666c011a512d7758a8c095872241e8f3964850 (diff)
Bootloader: can load files now!
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/NewKit')
-rw-r--r--Private/NewKit/Macros.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/NewKit/Macros.hpp b/Private/NewKit/Macros.hpp
index 8b974fc2..b717dee8 100644
--- a/Private/NewKit/Macros.hpp
+++ b/Private/NewKit/Macros.hpp
@@ -10,19 +10,19 @@
#pragma once
#ifndef KIB
-#define KIB(X) ((X) * 1024)
+#define KIB(X) ((X) << 10)
#endif
#ifndef MIB
-#define MIB(X) (KIB(X) * 1024)
+#define MIB(X) (KIB(X) << 20)
#endif
#ifndef GIB
-#define GIB(X) (MIB(X) * 1024)
+#define GIB(X) (MIB(X) << 30)
#endif
#ifndef TIB
-#define TIB(X) (GIB(X) * 1024)
+#define TIB(X) (GIB(X) << 40)
#endif
#ifndef ARRAY_SIZE