aboutsummaryrefslogtreecommitdiff
path: root/trampoline.h
blob: 814f0db0c8ba6df1612eb3afd8081f41e4143906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "sha1.h"

#define SL_WORK_THREADS 32768

int tramp_init(const char *preferred_platform);
void tramp_destroy(void);
int tramp_load_kernel(const char *filename);
char *tramp_get_build_log(void);
int tramp_compile_kernel(void);
int tramp_set_kernel_args(unsigned int raw_len, unsigned int bitmask);
int tramp_run_kernel(void);
int tramp_copy_data(void **buffer, size_t size);
int tramp_copy_sha(struct sha_data *sha);
int tramp_copy_search(unsigned char search_raw[10]);