gstreamer/gst/gsti386.h

14 lines
331 B
C
Raw Normal View History

#ifndef GST_HGUARD_GSTI386_H
#define GST_HGUARD_GSTI386_H
#define GET_SP(target) \
__asm__("movl %%esp, %0" : "=m"(target) : : "esp", "ebp");
#define SET_SP(source) \
__asm__("movl %0, %%esp\n" : "=m"(thread->sp));
#define JUMP(target) \
__asm__("jmp " SYMBOL_NAME_STR(cothread_stub))
#endif /* GST_HGUARD_GSTI386_H */