Rev 420 | Rev 426 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 420 | Rev 424 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | .section K_TEXT_START, "ax" |
29 | .section K_TEXT_START, "ax" |
30 | 30 | ||
31 | .global kernel_image_start |
31 | .global kernel_image_start |
32 | kernel_image_start: |
32 | kernel_image_start: |
33 | 0: |
33 | 0: |
34 | b 0b |
34 | b 1f |
35 | nop |
35 | nop |
- | 36 | ||
- | 37 | # |
|
- | 38 | # This header forces SILO to load the kernel at 0x4000. |
|
- | 39 | # More precisely, SILO will think this is an old version of Linux. |
|
- | 40 | # |
|
- | 41 | .ascii "HdrS" |
|
- | 42 | .word 0 |
|
- | 43 | .half 0 |
|
- | 44 | ||
- | 45 | .align 8 |
|
- | 46 | ||
- | 47 | 1: |
|
- | 48 | set ofw, %l0 |
|
- | 49 | stx %o4, [%l0] |
|
- | 50 | ||
- | 51 | call ofw_init |
|
- | 52 | nop |
|
- | 53 | ||
- | 54 | 2: |
|
- | 55 | b 2b |
|
- | 56 | nop |
|
- | 57 |