mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
ARM works!
Original commit message from CVS: ARM works!
This commit is contained in:
parent
804c1b2653
commit
db5b4fbb46
3 changed files with 9 additions and 3 deletions
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
#undef HAVE_CPU_I386
|
#undef HAVE_CPU_I386
|
||||||
#undef HAVE_CPU_PPC
|
#undef HAVE_CPU_PPC
|
||||||
|
#undef HAVE_CPU_ALPHA
|
||||||
|
#undef HAVE_CPU_ARM
|
||||||
|
|
||||||
#undef HAVE_GDK_PIXBUF
|
#undef HAVE_GDK_PIXBUF
|
||||||
#undef HAVE_LIBGHTTP
|
#undef HAVE_LIBGHTTP
|
||||||
|
|
|
@ -117,6 +117,10 @@ case "x${target_cpu}" in
|
||||||
AC_DEFINE(HAVE_CPU_I386) ;;
|
AC_DEFINE(HAVE_CPU_I386) ;;
|
||||||
xpowerpc) HAVE_CPU_PPC=yes ;
|
xpowerpc) HAVE_CPU_PPC=yes ;
|
||||||
AC_DEFINE(HAVE_CPU_PPC) ;;
|
AC_DEFINE(HAVE_CPU_PPC) ;;
|
||||||
|
xalpha) HAVE_CPU_ALPHA=yes ;
|
||||||
|
AC_DEFINE(HAVE_CPU_ALPHA) ;;
|
||||||
|
xarm) HAVE_CPU_ARM=yes ;
|
||||||
|
AC_DEFINE(HAVE_CPU_ARM) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
dnl Determine endianness
|
dnl Determine endianness
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
||||||
* 2000 Wim Taymans <wtay@chello.be>
|
* 2000 Wim Taymans <wtay@chello.be>
|
||||||
*
|
*
|
||||||
* gstppc.h: Header for PPC-specific architecture issues
|
* gstarm.h: Header for ARM-specific architecture issues
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
|
@ -24,10 +24,10 @@
|
||||||
#define __GST_GSTARM_H__
|
#define __GST_GSTARM_H__
|
||||||
|
|
||||||
#define GST_ARCH_SET_SP(stackpointer) \
|
#define GST_ARCH_SET_SP(stackpointer) \
|
||||||
__asm__( "mov%?\t%!sp, %0" : : "r"(stackpointer));
|
__asm__( "mov sp, %0" : : "r"(stackpointer));
|
||||||
|
|
||||||
#define GST_ARCH_CALL(target) \
|
#define GST_ARCH_CALL(target) \
|
||||||
__asm__( "mov%?\t%!pc, %1" : : "r"(target) );
|
__asm__( "mov pc, %0" : : "r"(target) );
|
||||||
|
|
||||||
// Need to get more information about the stackframe format
|
// Need to get more information about the stackframe format
|
||||||
// and get the fields more correct. Check GDB sources maybe?
|
// and get the fields more correct. Check GDB sources maybe?
|
||||||
|
|
Loading…
Reference in a new issue