summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/core/stack.S
blob: baa19ff8431b182d92f04ed705c0a44bfb5d04a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

	.arch i386

#ifdef __x86_64__
#define STACK_SIZE 8192
#else
#define STACK_SIZE 4096
#endif

/****************************************************************************
 * Internal stack
 ****************************************************************************
 */
	.section ".stack", "aw", @nobits
	.balign 8
	.globl _stack
_stack:
	.space STACK_SIZE
	.globl _estack
_estack: