summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/BootKit/BitManip.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/boot/BootKit/BitManip.h')
-rw-r--r--dev/boot/BootKit/BitManip.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/dev/boot/BootKit/BitManip.h b/dev/boot/BootKit/BitManip.h
deleted file mode 100644
index 32795328..00000000
--- a/dev/boot/BootKit/BitManip.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* ========================================
-
- Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
-
-======================================== */
-
-#ifndef __BITMANIP_H__
-#define __BITMANIP_H__
-
-/// File: BitManip.h
-/// Purpose: Bit manipulation helpers, based on neboot-dev.
-
-#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__