mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
11e8ef9074
Original commit message from CVS: More work towards a powerPC port, and towards generic portability.
15 lines
333 B
C
15 lines
333 B
C
#ifndef GST_HGUARD_GSTPPC_H
|
|
#define GST_HGUARD_GSTPPC_H
|
|
|
|
/* FIXME: Hmm - does this work?
|
|
*/
|
|
#define GET_SP(target) \
|
|
__asm__("stw 1,%0" : "=m"(target) : : "r1");
|
|
|
|
#define SET_SP(source) \
|
|
__asm__("lwz 1,%0" : "=m"(source))
|
|
|
|
#define JUMP(target) \
|
|
__asm__("b " SYMBOL_NAME_STR(cothread_stub))
|
|
|
|
#endif /* GST_HGUARD_GSTPPC_H */
|