Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2165 → Rev 2166

/branches/arm/kernel/arch/arm32/include/context.h
1,5 → 1,5
/*
* Copyright (c) 2003-2004 Jakub Jermar
* Copyright (c) 2007 Michal Kebrt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
35,10 → 35,11
#ifndef KERN_arm32_CONTEXT_H_
#define KERN_arm32_CONTEXT_H_
 
 
/*
* Put one item onto the stack to support get_stack_base() and align it up.
*/
#define SP_DELTA 0 /* TODO */
#define SP_DELTA 0 /*TODO*/
 
 
#ifndef __ASM__
46,11 → 47,21
#include <arch/types.h>
 
/*
* Only save registers that must be preserved across function calls.
* Only save registers that must be preserved across
* function calls.
*/
typedef struct {
uintptr_t sp;
uintptr_t pc;
uint32_t r4;
uint32_t r5;
uint32_t r6;
uint32_t r7;
uint32_t r8;
uint32_t r10;
uint32_t r11;
 
ipl_t ipl;
} context_t;