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

Changeset b1d3c36 in mainline for kernel/arch/ppc32/include/context.h


Ignore:
Timestamp:
2010-02-04T16:51:36Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
4cac2d69
Parents:
d32358f
Message:

small arch/generic interface cleanup:
context_set() should be always defined explicitly (either as a custom macro
or as a reference to context_set_generic()), using #undef and implicit macro
values can be rather confusing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/context.h

    rd32358f rb1d3c36  
    2727 */
    2828
    29 /** @addtogroup ppc32   
     29/** @addtogroup ppc32
    3030 * @{
    3131 */
     
    3838#include <arch/types.h>
    3939
    40 #define SP_DELTA        16
     40#define SP_DELTA  16
     41
     42#define context_set(ctx, pc, stack, size) \
     43    context_set_generic(ctx, pc, stack, size)
    4144
    4245typedef struct {
     
    6871       
    6972        ipl_t ipl;
    70 } __attribute__ ((packed)) context_t;
     73} __attribute__((packed)) context_t;
    7174
    7275#endif
Note: See TracChangeset for help on using the changeset viewer.