8 .globl ofw_functions_addr
21 addi %r1,%r1,16384 - 0x10
23 /* Store ofw call addr */
26 addi %r7,%r8,ofw_call_addr - _start
36 /* Get the address of the functions list --
38 * Because of little endian switch we must use an even number of
39 * instructions here.. Pad with a nop if needed. */
46 /* Note that this is little-endian from here on */
53 /* R3 has the function offset to call (n * 4)
54 * Other arg registers are unchanged.
55 * Note that these 4 instructions are in reverse order due to
56 * little-endian convention */
60 /* Now normal ordering resumes */
71 lwz %r3,ofw_functions_addr - _start@l(%r9)
81 /* Goto the swapped function */
92 /* Ok, go back to little endian */
97 /* Note that this is little-endian from here on */
150 .ascii "ReactOS OpenFirmware Boot Program\r\n\0"
153 .ascii "ReactOS OpenFirmware Boot Program Halting\r\n\0"