Subversion Repositories HelenOS-historic

Rev

Rev 406 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 406 Rev 458
Line 37... Line 37...
37
#include <arch/cpuid.h>
37
#include <arch/cpuid.h>
38
#include <arch/mm/page.h>
38
#include <arch/mm/page.h>
39
	
39
	
40
.section K_TEXT_START_2, "ax"
40
.section K_TEXT_START_2, "ax"
41
 
41
 
42
#ifdef __SMP__
42
#ifdef CONFIG_SMP
43
 
43
 
44
.global ap_boot
44
.global ap_boot
45
 
45
 
46
# This piece of code is real-mode and is meant to be alligned at 4K boundary.
46
# This piece of code is real-mode and is meant to be alligned at 4K boundary.
47
# The requirement for such an alignment comes from MP Specification's STARTUP IPI
47
# The requirement for such an alignment comes from MP Specification's STARTUP IPI
Line 98... Line 98...
98
start64:
98
start64:
99
	movq (ctx), %rsp
99
	movq (ctx), %rsp
100
	call main_ap   # never returns
100
	call main_ap   # never returns
101
	
101
	
102
	
102
	
103
#endif /* __SMP__ */
103
#endif /* CONFIG_SMP */