Rev 919 | Rev 993 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 919 | Rev 923 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #define PS_SHIFT 2 |
36 | #define PS_SHIFT 2 |
37 | 37 | ||
38 | #define KERNEL_TRANSLATION_I 0x0010000000000661 |
38 | #define KERNEL_TRANSLATION_I 0x0010000000000661 |
39 | #define KERNEL_TRANSLATION_D 0x0010000000000661 |
39 | #define KERNEL_TRANSLATION_D 0x0010000000000661 |
40 | 40 | ||
41 | .section K_TEXT_START |
41 | .section K_TEXT_START, "ax" |
42 | 42 | ||
43 | .global kernel_image_start |
43 | .global kernel_image_start |
44 | 44 | ||
45 | stack0: |
45 | stack0: |
46 | kernel_image_start: |
46 | kernel_image_start: |
Line 82... | Line 82... | ||
82 | .explicit |
82 | .explicit |
83 | /* |
83 | /* |
84 | * Return From Interupt is the only the way to fill upper half word of PSR. |
84 | * Return From Interupt is the only the way to fill upper half word of PSR. |
85 | */ |
85 | */ |
86 | rfi;; |
86 | rfi;; |
87 | {nop 0;;} |
- | |
88 | {nop 0;;} |
- | |
89 | {nop 0;;} |
- | |
90 | {nop 0;;} |
- | |
91 | {nop 0;;} |
- | |
92 | {nop 0;;} |
- | |
93 | {nop 0;;} |
- | |
94 | {nop 0;;} |
- | |
95 | 87 | ||
96 | .global paging_start |
88 | .global paging_start |
97 | paging_start: |
89 | paging_start: |
98 | 90 | ||
99 | /* |
91 | /* |
100 | * Now we are paging. |
92 | * Now we are paging. |
101 | */ |
93 | */ |
102 | 94 | ||
103 | {nop 0;;} |
- | |
104 | {nop 0;;} |
- | |
105 | {nop 0;;} |
- | |
106 | {nop 0;;} |
- | |
107 | {nop 0;;} |
- | |
108 | {nop 0;;} |
- | |
109 | {nop 0;;} |
- | |
110 | {nop 0;;} |
- | |
111 | 95 | ||
112 | # switch to register bank 1 |
96 | # switch to register bank 1 |
113 | bsw.1 |
97 | bsw.1 |
114 | 98 | ||
115 | # initialize register stack |
99 | # initialize register stack |