11 size_t ulzman(
const void *src,
size_t srcn,
void *dst,
size_t dstn);
49 static inline int popcnt(
u32 x) {
return __builtin_popcount(
x); }
51 static inline int clz(
u32 x) {
return x ? __builtin_clz(
x) :
sizeof(
x) * 8; }
63 static inline int clz64(
u64 x) {
return x ? __builtin_clzll(
x) :
sizeof(
x) * 8; }
static int log2_ceil(u32 x)
void ram_check(uintptr_t start)
static int log2_64(u64 x)
int ram_check_nodie(uintptr_t start)
static int __ffs64(u64 x)
void hexdump(const void *memory, size_t length)
size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn)
int primitive_memtest(uintptr_t base, uintptr_t size)
size_t hexstrtobin(const char *str, uint8_t *buf, size_t len)
static int popcnt64(u64 x)
int ram_check_noprint_nodie(uintptr_t start)
int checkstack(void *top_of_stack, int core)
void quick_ram_check_or_die(uintptr_t dst)
static int __fls64(u64 x)
static const PCI_SUBCLASS memory[]