mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-02 21:30:29 +00:00
efcadd06c5
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
19 lines
470 B
C
19 lines
470 B
C
/*
|
|
*
|
|
* (c) 2004, 2005 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#ifndef __MISC_H__
|
|
#define __MISC_H__
|
|
|
|
extern unsigned char *c2pstring(char* s);
|
|
extern char *p2cstring(unsigned char* s);
|
|
extern void memdump(unsigned char* addr, unsigned long size);
|
|
extern void error(char *x) __attribute__ ((noreturn));
|
|
extern unsigned char *get_physical(void *ptr);
|
|
extern unsigned int make_resident(void* ptr, unsigned long size,
|
|
int contiguous);
|
|
|
|
#endif /* __MISC_H__ */
|