diff options
Diffstat (limited to 'src/vendorcode/amd/agesa/f15tn/Proc/Mem/mu.h')
-rw-r--r-- | src/vendorcode/amd/agesa/f15tn/Proc/Mem/mu.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/Mem/mu.h b/src/vendorcode/amd/agesa/f15tn/Proc/Mem/mu.h index 2933453edb..2c6941df1f 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/Mem/mu.h +++ b/src/vendorcode/amd/agesa/f15tn/Proc/Mem/mu.h @@ -60,33 +60,7 @@ #define PSO_ENTRY UINT8 #endif -// -// Maximum value macro -// -#ifndef MAX - #define MAX(X, Y) (((X) < (Y)) ? (Y) : (X)) -#endif -// -// Minimum Value macro -// -#ifndef MIN - #define MIN(X, Y) (((X) < (Y)) ? (X) : (Y)) -#endif -// -// Absolute Value Macro -// -#ifndef ABS - #define ABS(X) (((X) < 0) ? (-(X)) : (X)) -#endif -// -// Taking ceiling of (a / b) -// -#define CEIL_DIV(a, b) (((a) + (b) - 1) / (b)) -// -// Check if value x is a power of 2 or not -// -#define IS_POWER_OF_2(x) (((x) & ((x) - 1)) == 0) - +#include <stdlib.h> /*---------------------------------------------------------------------------- * TYPEDEFS, STRUCTURES, ENUMS |