Rev 1787 | Rev 1791 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1790 | ||
|---|---|---|---|
| Line 96... | Line 96... | ||
| 96 | 96 | ||
| 97 | jmp %o7 + 8 ! exit point |
97 | jmp %o7 + 8 ! exit point |
| 98 | mov %o1, %o0 |
98 | mov %o1, %o0 |
| 99 | 99 | ||
| 100 | jump_to_kernel: |
100 | jump_to_kernel: |
| - | 101 | mov %o0, %l1 |
|
| 101 | set ofw_cif, %l0 |
102 | mov %o1, %o0 |
| - | 103 | mov %o2, %o1 |
|
| 102 | jmp %o0 ! jump to kernel |
104 | jmp %l1 ! jump to kernel |
| 103 | ldx [%l0], %o4 ! pass OpenFirmware address in %o4 |
- | |
| - | 105 | nop |
|
| 104 | 106 | ||
| 105 | .global ofw |
107 | .global ofw |
| 106 | ofw: |
108 | ofw: |
| 107 | save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp |
109 | save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp |
| 108 | set ofw_cif, %l0 |
110 | set ofw_cif, %l0 |