Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/abs32le/include/fibril.h

    r619e2a6b r63f8966  
    4444                (ctx)->pc = (uintptr_t) (_pc); \
    4545                (ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
    46                 (ctx)->fp = 0; \
    4746                (ctx)->tls = ((uintptr_t) (ptls)) + sizeof(tcb_t); \
    4847        } while (0)
     
    5453typedef struct {
    5554        uintptr_t sp;
    56         uintptr_t fp;
    5755        uintptr_t pc;
    5856        uintptr_t tls;
    5957} context_t;
    60 
    61 static inline uintptr_t context_get_fp(context_t *ctx)
    62 {
    63         /* On real hardware, this function returns the frame pointer. */
    64         return ctx->fp;
    65 }
    6658
    6759#endif
Note: See TracChangeset for help on using the changeset viewer.