|
|
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: : rtas-ibm-update-flash-64-and-reboot ( block-list -- status ) ! 14: [ s" ibm,update-flash-64-and-reboot" rtas-get-token ] LITERAL rtas-cb rtas>token l! ! 15: 1 rtas-cb rtas>nargs l! ! 16: 1 rtas-cb rtas>nret l! ! 17: rtas-cb rtas>args0 l! ! 18: enter-rtas ! 19: rtas-cb rtas>args1 l@ ! 20: ; ! 21: ! 22: : rtas-ibm-manage-flash-image ( image-to-commit -- status ) ! 23: [ s" ibm,manage-flash-image" rtas-get-token ] LITERAL rtas-cb rtas>token l! ! 24: 1 rtas-cb rtas>nargs l! ! 25: 1 rtas-cb rtas>nret l! ! 26: rtas-cb rtas>args0 l! ! 27: enter-rtas ! 28: rtas-cb rtas>args1 l@ ! 29: ; ! 30: ! 31: : rtas-set-flashside ( flashside -- status ) ! 32: [ s" rtas-set-flashside" rtas-get-token ] LITERAL rtas-cb rtas>token l! ! 33: 1 rtas-cb rtas>nargs l! ! 34: 1 rtas-cb rtas>nret l! ! 35: rtas-cb rtas>args0 l! ! 36: enter-rtas ! 37: rtas-cb rtas>args1 l@ ! 38: ; ! 39: ! 40: : rtas-get-flashside ( -- status ) ! 41: [ s" rtas-get-flashside" rtas-get-token ] LITERAL rtas-cb rtas>token l! ! 42: 0 rtas-cb rtas>nargs l! ! 43: 1 rtas-cb rtas>nret l! ! 44: enter-rtas ! 45: rtas-cb rtas>args0 l@ ! 46: ;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.