Rev 987 | Rev 1004 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 987 | Rev 990 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | 33 | ||
34 | .section K_TEXT_START, "ax" |
34 | .section K_TEXT_START, "ax" |
35 | 35 | ||
36 | .global kernel_image_start |
36 | .global kernel_image_start |
37 | kernel_image_start: |
37 | kernel_image_start: |
- | 38 | ||
- | 39 | # load temporary stack |
|
- | 40 | ||
- | 41 | lis sp, end_stack@ha |
|
- | 42 | addi sp, sp, end_stack@l |
|
38 | 43 | ||
39 | # r10 contains physical address to memmap_t |
44 | # r10 contains physical address to memmap_t |
40 | # from boot loader |
45 | # from boot loader |
41 | 46 | ||
42 | lis r4, 0x80000000@ha |
47 | lis r4, 0x80000000@ha |
Line 67... | Line 72... | ||
67 | 72 | ||
68 | bdnz memmap_loop |
73 | bdnz memmap_loop |
69 | memmap_end: |
74 | memmap_end: |
70 | 75 | ||
71 | b main_bsp |
76 | b main_bsp |
- | 77 | ||
- | 78 | .section K_DATA_START, "aw", @progbits |
|
- | 79 | ||
- | 80 | .space TEMP_STACK_SIZE |
|
- | 81 | end_stack: |