Subversion Repositories HelenOS-historic

Rev

Rev 1056 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1056 Rev 1138
Line 30... Line 30...
30
#include <arch/stack.h>
30
#include <arch/stack.h>
31
#include <arch/register.h>
31
#include <arch/register.h>
32
#include <arch/mm/page.h>
32
#include <arch/mm/page.h>
33
#include <align.h>
33
#include <align.h>
34
 
34
 
35
 
-
 
36
#define FRS_TO_SAVE 30
35
#define FRS_TO_SAVE 30
37
#define STACK_ITEMS		(19 + FRS_TO_SAVE*2)
36
#define STACK_ITEMS		(19 + FRS_TO_SAVE*2)
38
//#define STACK_ITEMS		19 		
-
 
39
	/* 30*2 for FPU registers */
-
 
40
#define STACK_FRAME_SIZE	ALIGN_UP((STACK_ITEMS*STACK_ITEM_SIZE) + STACK_SCRATCH_AREA_SIZE, STACK_ALIGNMENT)
37
#define STACK_FRAME_SIZE	ALIGN_UP((STACK_ITEMS*STACK_ITEM_SIZE) + STACK_SCRATCH_AREA_SIZE, STACK_ALIGNMENT)
41
 
38
 
42
#if (STACK_ITEMS % 2 == 0)
39
#if (STACK_ITEMS % 2 == 0)
43
#	define STACK_FRAME_BIAS	8
40
#	define STACK_FRAME_BIAS	8
44
#else
41
#else