(1) Cherry-pick of 644afd8b45fc253ad7b90849e99aae354bac5b17
(2) Pass length to functions with arguments of variable length
* POSTK_DEBUG_ARCH_DEP_38
(3) Separate architecture dependent functions/structures
* POSTK_DEBUG_ARCH_DEP_34
(4) Fix include path
* POSTK_DEBUG_ARCH_DEP_76
(5) Include config.h
* POSTK_DEBUG_ARCH_DEP_33
19 lines
470 B
C
19 lines
470 B
C
/* eclair.h COPYRIGHT FUJITSU LIMITED 2016 */
|
|
|
|
#ifndef HEADER_USER_COMMON_ECLAIR_H
|
|
#define HEADER_USER_COMMON_ECLAIR_H
|
|
|
|
#include "../config.h"
|
|
#include <stdio.h>
|
|
#include <inttypes.h>
|
|
#include <arch-eclair.h>
|
|
|
|
/* common */
|
|
uintptr_t lookup_symbol(char *name);
|
|
ssize_t print_bin(char *buf, size_t buf_size, void *data, size_t size);
|
|
|
|
/* arch depend */
|
|
int print_kregs(char *rbp, size_t rbp_size, const struct arch_kregs *kregs);
|
|
|
|
#endif /* HEADER_USER_COMMON_ECLAIR_H */
|