Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4afd4ab in mainline


Ignore:
Timestamp:
2010-01-08T21:38:36Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
6d7f9bfe
Parents:
f839070
Message:

Dummy support for ppc32 kernel stack traces.

Location:
kernel/arch/ppc32
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/Makefile.inc

    rf839070 r4afd4ab  
    4646        arch/$(KARCH)/src/context.S \
    4747        arch/$(KARCH)/src/debug/panic.s \
     48        arch/$(KARCH)/src/debug/stacktrace.c \
     49        arch/$(KARCH)/src/debug/stacktrace_asm.S \
    4850        arch/$(KARCH)/src/fpu_context.S \
    4951        arch/$(KARCH)/src/boot/boot.S \
  • kernel/arch/ppc32/include/exception.h

    rf839070 r4afd4ab  
    3939#include <arch/regutils.h>
    4040
    41 typedef struct {
     41typedef struct istate {
    4242        uint32_t r0;
    4343        uint32_t r2;
     
    9898}
    9999
     100static inline unative_t istate_get_fp(istate_t *istate)
     101{
     102        return istate->sp;
     103}
     104
    100105#endif
    101106
Note: See TracChangeset for help on using the changeset viewer.