gstreamer/gst/gstppc.h
Richard Boulton 11e8ef9074 More work towards a powerPC port, and towards generic portability.
Original commit message from CVS:
More work towards a powerPC port, and towards generic portability.
2000-09-16 00:59:12 +00:00

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 */