Revision 5fafdf24 thunk.h
b/thunk.h | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Generic thunking code to convert data between host and target CPU |
3 |
*
|
|
3 |
* |
|
4 | 4 |
* Copyright (c) 2003 Fabrice Bellard |
5 | 5 |
* |
6 | 6 |
* This library is free software; you can redistribute it and/or |
... | ... | |
69 | 69 |
|
70 | 70 |
void thunk_register_struct(int id, const char *name, const argtype *types); |
71 | 71 |
void thunk_register_struct_direct(int id, const char *name, StructEntry *se1); |
72 |
const argtype *thunk_convert(void *dst, const void *src,
|
|
72 |
const argtype *thunk_convert(void *dst, const void *src, |
|
73 | 73 |
const argtype *type_ptr, int to_host); |
74 | 74 |
#ifndef NO_THUNK_TYPE_SIZE |
75 | 75 |
|
... | ... | |
150 | 150 |
|
151 | 151 |
#endif /* NO_THUNK_TYPE_SIZE */ |
152 | 152 |
|
153 |
unsigned int target_to_host_bitmask(unsigned int x86_mask,
|
|
153 |
unsigned int target_to_host_bitmask(unsigned int x86_mask, |
|
154 | 154 |
bitmask_transtbl * trans_tbl); |
155 |
unsigned int host_to_target_bitmask(unsigned int alpha_mask,
|
|
155 |
unsigned int host_to_target_bitmask(unsigned int alpha_mask, |
|
156 | 156 |
bitmask_transtbl * trans_tbl); |
157 | 157 |
|
158 | 158 |
#endif |
Also available in: Unified diff