Added freeldr and hal from PPC branch, along with needed headers and
[reactos.git] / reactos / lib / rtl / exception.c
index 62f5a8c..5a110f9 100644 (file)
@@ -137,6 +137,8 @@ RtlWalkFrameChain(OUT PVOID *Callers,
 #endif
 #elif defined(_M_MIPS)
     __asm__("move $sp, %0" : "=r" (Stack) : );
+#elif defined(_M_PPC)
+    __asm__("mr %0,1" : "=r" (Stack) : );
 #else
 #error Unknown architecture
 #endif