diff options
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -4,17 +4,15 @@ #include <stdio.h> #include <stdint.h> +#include <pcilib.h> + +#define pcilib_memcpy pcilib_memcpy32 +#define pcilib_datacpy pcilib_datacpy32 + #define BIT_MASK(bits) ((1ll << (bits)) - 1) #define min2(a, b) (((a)<(b))?(a):(b)) -typedef enum { - PCILIB_TRISTATE_NO = 0, - PCILIB_TRISTATE_PARTIAL = 1, - PCILIB_TRISTATE_YES = 2 -} pcilib_tristate_t; - -#include "pci.h" int pcilib_isnumber(const char *str); int pcilib_isxnumber(const char *str); |