Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2345 → Rev 2356

/branches/arm/kernel/arch/arm32/include/context.h
30,6 → 30,7
* @{
*/
/** @file
* @brief Thread context.
*/
 
#ifndef KERN_arm32_CONTEXT_H_
38,17 → 39,14
#include <align.h>
#include <arch/stack.h>
 
 
/* Put one item onto the stack to support get_stack_base() and align it up. */
#define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
 
 
#ifndef __ASM__
 
#include <arch/types.h>
 
 
/* Structure containing registers that must be preserved across function calls. */
/* Struct containing registers that must be preserved across function calls. */
typedef struct {
uint32_t cpu_mode;
uintptr_t sp;