diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 15:50:15 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 15:50:15 +0100 |
| commit | e1d27e30997b45acf9dade9c03278b02f1021e98 (patch) | |
| tree | d0d291a43e8dcd0f664f552ad017555447a3d7d8 /Private/NewKit | |
| parent | b3666c011a512d7758a8c095872241e8f3964850 (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.hpp | 8 |
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 |
