|
|
1.1 root 1: /******************************************************************************
2: * Copyright (c) 2004, 2008 IBM Corporation
3: * All rights reserved.
4: * This program and the accompanying materials
5: * are made available under the terms of the BSD License
6: * which accompanies this distribution, and is available at
7: * http://www.opensource.org/licenses/bsd-license.php
8: *
9: * Contributors:
10: * IBM Corporation - initial implementation
11: *****************************************************************************/
12:
13:
14: .globl call_client_interface
15: call_client_interface:
16: .globl .call_client_interface
17: .call_client_interface:
18: ld r4, _prom_entry@got(r2) # Load prom entry point
19: mflr r0
20: ld r4, 0(r4)
21: stdu r1, -16(r1)
22: mtctr r4
23: std r0, 8(r1)
24: bctrl
25: ld r0, 8(r1)
26: mtlr r0
27: addi r1, r1, 16
28: blr
29:
30: .globl rtas_call_entry
31: rtas_call_entry:
32: .globl .rtas_call_entry
33: .rtas_call_entry:
34: mtctr r5
35: bctr
36:
37:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.