blob: 9411ca21238ae2a92a9db3034d47bac9dadd5fa7 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
/* This sesond stage of the kernel is run from address 0x0 */
TRANSLATION_TABLE_SIZE = 4096 * 4;
SECTIONS_LIST_SIZE = 4096 * 8;
MMU_SECTION_SIZE = 1 << 20;
SECTIONS
{
. = 0x0;
__start = .;
.interrupt_vector :
{
KEEP(interrupt_vector.o)
}
. = ALIGN(4);
.embedded_ramfs :
{
ramfs_embeddable.o
}
.rest_of_kernel :
{
*(.text)
*(.data)
*(.rodata)
*(.bss)
*(/COMMON/)
*(*)
}
__end = .;
. = ALIGN(1 << 14);
.translation_table (NOLOAD) :
{
_translation_table_start = .;
. = . + TRANSLATION_TABLE_SIZE;
_translation_table_end = .;
}
.sections_list (NOLOAD) :
{
_sections_list_start = .;
. = . + SECTIONS_LIST_SIZE;
_sections_list_end = .;
}
. = ALIGN(1 << 20);
. = . + MMU_SECTION_SIZE;
.stack (NOLOAD) :
{
_stack_start = .;
_fiq_stack_start = .;
. = . + (1 << 18);
_fiq_stack_top = .;
_irq_stack_start = .;
. = . + (1 << 18);
_irq_stack_top = .;
_supervisor_stack_start = .;
. = . + (1 << 19);
_supervisor_stack_top = .;
_stack_end = .;
}
}
|