more work on boot image creation

This commit is contained in:
Joel Dice
2008-11-23 16:58:01 -07:00
parent 6500f1eff6
commit 20cf42c5e4
12 changed files with 544 additions and 251 deletions

View File

@ -293,6 +293,15 @@ difference(void* a, void* b)
return reinterpret_cast<intptr_t>(a) - reinterpret_cast<intptr_t>(b);
}
template <class T>
inline void*
voidPointer(T function)
{
void* p;
memcpy(&p, &function, sizeof(void*));
return p;
}
class Machine;
class Thread;