diff options
Diffstat (limited to 'dev/Boot/BootKit/BitManip.hxx')
| -rw-r--r-- | dev/Boot/BootKit/BitManip.hxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev/Boot/BootKit/BitManip.hxx b/dev/Boot/BootKit/BitManip.hxx deleted file mode 100644 index 50b6a0c7..00000000 --- a/dev/Boot/BootKit/BitManip.hxx +++ /dev/null @@ -1,20 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#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__ |
