view loader/wrapper.h @ 10266:db0c6834b6db

libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>: Check for altivec.h and set HAVE_ALTIVEC_H This is required for the new libmpeg2 files and for the updated ffmpeg code make sure ARCH_POWERPC gets set (I choosed this instead of mpeg2_internal)
author arpi
date Mon, 09 Jun 2003 12:09:39 +0000
parents 8b905703a450
children ee76aa308c0a
line wrap: on
line source

#ifndef _WRAPPER_H
#define _WRAPPER_H

#include <sys/types.h>

typedef struct {
  u_int32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
} reg386_t;

typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg,  u_int32_t *flags);

extern wrapper_func_t report_entry, report_ret;

extern void (*wrapper_target)(void);

extern int wrapper(void);
extern int null_call(void);

#endif /* _WRAPPER_H */