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 #ifndef __RTAS_BOARD_H 14 #define __RTAS_BOARD_H 15 16 #include <stddef.h> 17 18 extern volatile unsigned char u4Flag; 19 20 void rtas_ibm_read_pci_config(rtas_args_t * pArgs); 21 void rtas_ibm_write_pci_config(rtas_args_t * pArgs); 22 void rtas_read_pci_config(rtas_args_t * pArgs); 23 void rtas_write_pci_config(rtas_args_t * pArgs); 24 void rtas_system_reboot(rtas_args_t * pArgs); 25 void rtas_power_off(rtas_args_t * pArgs); 26 void rtas_display_character(rtas_args_t * pArgs); 27 void rtas_flash_test(rtas_args_t * pArgs); 28 void rtas_ibm_update_flash_64_and_reboot(rtas_args_t * pArgs); 29 void rtas_set_indicator(rtas_args_t * pArgs); 30 void rtas_event_scan(rtas_args_t * pArgs); 31 void rtas_ibm_manage_flash_image(rtas_args_t * pArgs); 32 void rtas_ibm_validate_flash_image(rtas_args_t * pArgs); 33 void rtas_update_flash(rtas_args_t * pArgs); 34 void rtas_set_flashside(rtas_args_t * pArgs); 35 void rtas_get_flashside(rtas_args_t * pArgs); 36 void rtas_dump_flash(rtas_args_t * pArgs); 37 void rtas_start_cpu(rtas_args_t * pArgs); 38 void rtas_read_vpd(rtas_args_t * pArgs); 39 void rtas_write_vpd(rtas_args_t * pArgs); 40 void rtas_fetch_slaves(rtas_args_t * pArgs); 41 void rtas_stop_bootwatchdog(rtas_args_t * pArgs); 42 void rtas_get_blade_descr(rtas_args_t * pArgs); 43 void rtas_set_bootwatchdog(rtas_args_t * pArgs); 44 45 #endif /* __RTAS_BOARD_H */ 46