summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/BootKit/BitManip.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-05-08 12:32:41 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-05-08 12:32:41 +0200
commit09dd11ddf800898c00ecb04a65fb5cd10fb481fa (patch)
treeeda0b4e23d6a71da7de3a78f0bb76ec3201dd2f9 /Private/NewBoot/BootKit/BitManip.hxx
parentca83108fd138cc0398f900e6a6c0a53ad51aee31 (diff)
MHR-23: :boom: changes, reworked project tree.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot/BootKit/BitManip.hxx')
-rw-r--r--Private/NewBoot/BootKit/BitManip.hxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/Private/NewBoot/BootKit/BitManip.hxx b/Private/NewBoot/BootKit/BitManip.hxx
deleted file mode 100644
index 08733840..00000000
--- a/Private/NewBoot/BootKit/BitManip.hxx
+++ /dev/null
@@ -1,20 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
-------------------------------------------- */
-
-#ifndef __BITMANIP_H__
-#define __BITMANIP_H__
-
-/// Name: Bits API.
-/// Purpose: Bit manip helpers, based on CoreBoot header.
-
-#define bk_set_bit(X, O) X = (1 << O) | X
-#define bk_clear_bit(X, O) X = ~(1 << O) & X
-#define bk_toogle(X, O) X = (1 << O) ^ X
-#define bk_lsb(X) X = X & -X
-#define bk_msb(X) X = -(mp_lsb(X)) & X
-#define bk_look_for_bit(X, O) (1 << O) | X
-
-#endif // ifndef __BITMANIP_H__