Changeset b1d3c36 in mainline for kernel/arch
- Timestamp:
- 2010-02-04T16:51:36Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4cac2d69
- Parents:
- d32358f
- Location:
- kernel/arch
- Files:
-
- 5 edited
-
abs32le/include/context.h (modified) (1 diff)
-
ia64/include/context.h (modified) (1 diff)
-
mips32/include/context.h (modified) (2 diffs)
-
ppc32/include/context.h (modified) (3 diffs)
-
sparc64/include/context.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/abs32le/include/context.h
rd32358f rb1d3c36 39 39 #define SP_DELTA 0 40 40 41 #define context_set(ctx, pc, stack, size) \ 42 context_set_generic(ctx, pc, stack, size) 43 41 44 /* 42 45 * On real hardware this stores the registers which -
kernel/arch/ia64/include/context.h
rd32358f rb1d3c36 48 48 */ 49 49 #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)) 50 51 #ifdef context_set52 #undef context_set53 #endif54 50 55 51 /* RSE stack starts at the bottom of memory stack. */ -
kernel/arch/mips32/include/context.h
rd32358f rb1d3c36 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 42 42 * Put one item onto the stack to support get_stack_base() and align it up. 43 43 */ 44 #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)) 45 44 #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)) 46 45 47 46 #ifndef __ASM__ 48 47 49 48 #include <arch/types.h> 49 50 #define context_set(ctx, pc, stack, size) \ 51 context_set_generic(ctx, pc, stack, size) 50 52 51 53 /* -
kernel/arch/ppc32/include/context.h
rd32358f rb1d3c36 27 27 */ 28 28 29 /** @addtogroup ppc32 29 /** @addtogroup ppc32 30 30 * @{ 31 31 */ … … 38 38 #include <arch/types.h> 39 39 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) 41 44 42 45 typedef struct { … … 68 71 69 72 ipl_t ipl; 70 } __attribute__ ((packed)) context_t;73 } __attribute__((packed)) context_t; 71 74 72 75 #endif -
kernel/arch/sparc64/include/context.h
rd32358f rb1d3c36 42 42 #define SP_DELTA (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE) 43 43 44 #ifdef context_set45 #undef context_set46 #endif47 48 44 #define context_set(c, _pc, stack, size) \ 49 45 (c)->pc = ((uintptr_t) _pc) - 8; \
Note:
See TracChangeset
for help on using the changeset viewer.
