Subversion Repositories HelenOS-historic

Rev

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

Rev 820 Rev 846
Line 5... Line 5...
5
 *  kernel data
5
 *  kernel data
6
 *
6
 *
7
 */
7
 */
8
 
8
 
9
#define __ASM__
9
#define __ASM__
-
 
10
#include <arch/boot/boot.h>
10
 
11
 
11
ENTRY(kernel_image_start)
12
ENTRY(kernel_image_start)
12
 
13
 
13
SECTIONS {
14
SECTIONS {
14
	.image 0x4000: AT (0x4000) { 
15
	.image VMA: AT (LMA) { 
15
		ktext_start = .;
16
		ktext_start = .;
16
		*(K_TEXT_START)
17
		*(K_TEXT_START)
17
		*(.text);
18
		*(.text);
18
		ktext_end = .;
19
		ktext_end = .;
19
		
20
		
Line 28... Line 29...
28
		hardcoded_ktext_size = .;
29
		hardcoded_ktext_size = .;
29
		QUAD(ktext_end - ktext_start);	
30
		QUAD(ktext_end - ktext_start);	
30
		hardcoded_kdata_size = .;
31
		hardcoded_kdata_size = .;
31
		QUAD(kdata_end - kdata_start);
32
		QUAD(kdata_end - kdata_start);
32
		hardcoded_load_address = .;
33
		hardcoded_load_address = .;
33
		QUAD(0x4000);
34
		QUAD(VMA);
34
		*(.bss);		/* uninitialized static variables */	
35
		*(.bss);		/* uninitialized static variables */	
35
		*(COMMON); 		/* global variables */
36
		*(COMMON); 		/* global variables */
36
 
37
 
37
		symbol_table = .;
38
		symbol_table = .;
38
                *(symtab.*);            /* Symbol table, must be LAST symbol!*/
39
                *(symtab.*);            /* Symbol table, must be LAST symbol!*/