Deprecated: Assigning the return value of new by reference is deprecated in /var/www/psdevWiki/inc/parserutils.php on line 161

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/psdevWiki/inc/parserutils.php on line 164

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/psdevWiki/inc/parserutils.php on line 294

Deprecated: Function split() is deprecated in /var/www/psdevWiki/inc/auth.php on line 97

Warning: Cannot modify header information - headers already sent by (output started at /var/www/psdevWiki/inc/parserutils.php:161) in /var/www/psdevWiki/inc/auth.php on line 180

Deprecated: Function split() is deprecated in /var/www/psdevWiki/inc/common.php on line 552

Warning: Cannot modify header information - headers already sent by (output started at /var/www/psdevWiki/inc/parserutils.php:161) in /var/www/psdevWiki/inc/actions.php on line 71
ps3:hypervisor:example_hypervisor_call_sequence [psDevWiki]
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /var/www/psdevWiki/inc/template.php on line 154
 

Example Hypervisor Call Sequence

Following is an example function call sequence to call the Hypervisor.

mflr r0
stw  r0,4(r1)

load r3  with parameter 1
load r4  with parameter 2
load r5  with parameter 3
load r6  with parameter 4
load r7  with parameter 5
load r8  with parameter 6
load r9  with parameter 7
load r10 with parameter 8

load r11 with API Function Number

sc   1   

extsw r3, r3

save result 1 from r4
save result 2 from r5
save result 3 from r6
save result 4 from r7
save result 5 from r8
save result 6 from r9
save result 7 from r10
save result 8 from r11 (rare, but it's in the ABI as available)

lwz  r0, 4(r1)
mtlr r0
blr
 

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /var/www/psdevWiki/inc/template.php on line 523
ps3/hypervisor/example_hypervisor_call_sequence.txt · Last modified: 2011/01/16 10:52 by madsciencelabs
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki