~ubuntu-branches/ubuntu/wily/slof/wily

« back to all changes in this revision

Viewing changes to board-js2x/rtas/rtas_table.c

  • Committer: Package Import Robot
  • Author(s): Aurelien Jarno
  • Date: 2012-09-16 23:05:23 UTC
  • Revision ID: package-import@ubuntu.com-20120916230523-r2ynulqmp2tyu2e5
Tags: upstream-20120217+dfsg
ImportĀ upstreamĀ versionĀ 20120217+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
#include <stdint.h>
 
14
#include <rtas.h>
 
15
#include "rtas_table.h"
 
16
#include "rtas_board.h"
 
17
 
 
18
const rtas_funcdescr_t rtas_func_tab[] = {
 
19
        {"ibm,read-pci-config", rtas_ibm_read_pci_config, 0},
 
20
        {"ibm,write-pci-config", rtas_ibm_write_pci_config, 0},
 
21
        {"system-reboot", rtas_system_reboot, 0},
 
22
        {"power-off", rtas_power_off, 0},
 
23
        {"set-indicator", rtas_set_indicator, 0},
 
24
        {"rtas-flash-test", rtas_flash_test, RTAS_TBLFLG_INTERNAL},
 
25
        {"ibm,update-flash-64-and-reboot", rtas_ibm_update_flash_64_and_reboot, 0},
 
26
        {"display-character", rtas_display_character, 0},
 
27
        {"event-scan", rtas_event_scan, 0},
 
28
        {"ibm,manage-flash-image", rtas_ibm_manage_flash_image, 0},
 
29
        {"ibm,validate-flash-image", rtas_ibm_validate_flash_image, 0},
 
30
        {"ibm,update-flash-64", rtas_update_flash, 0},
 
31
        {"rtas-set-flashside", rtas_set_flashside, 0},
 
32
        {"rtas-get-flashside", rtas_get_flashside, 0},
 
33
        {"rtas-dump-flash", rtas_dump_flash, RTAS_TBLFLG_INTERNAL},
 
34
        {"start-cpu", rtas_start_cpu, 0},
 
35
        {"msg-read-vpd", rtas_read_vpd, RTAS_TBLFLG_INTERNAL},
 
36
        {"msg-write-vpd", rtas_write_vpd, RTAS_TBLFLG_INTERNAL},
 
37
        {"read-pci-config", rtas_read_pci_config, 0},
 
38
        {"write-pci-config", rtas_write_pci_config, 0},
 
39
        {"rtas-fetch-slaves", rtas_fetch_slaves, RTAS_TBLFLG_INTERNAL},
 
40
        {"rtas-stop-bootwatchdog", rtas_stop_bootwatchdog, RTAS_TBLFLG_INTERNAL},
 
41
        {"rtas-set-bootwatchdog", rtas_set_bootwatchdog, RTAS_TBLFLG_INTERNAL},
 
42
        {"rtas-get-blade-descr", rtas_get_blade_descr, RTAS_TBLFLG_INTERNAL},
 
43
};
 
44
 
 
45
const int rtas_func_tab_size = sizeof(rtas_func_tab) / sizeof(rtas_func_tab[0]);