mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
14 lines
331 B
C
14 lines
331 B
C
|
#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 */
|