rtas_token_lookup
cell_t rtas_token_lookup(const char *method);
start_cpu = rtas_token_lookup("start-cpu");
token = rtas_token_lookup("get-time-of-day");
token = rtas_token_lookup("set-time-of-day");
token = rtas_token_lookup("power-off");
token = rtas_token_lookup("system-reboot");
if (rtas_token_lookup("get-time-of-day") != -1)
sc->read_pci_config = rtas_token_lookup("read-pci-config");
sc->write_pci_config = rtas_token_lookup("write-pci-config");
sc->ex_read_pci_config = rtas_token_lookup("ibm,read-pci-config");
sc->ex_write_pci_config = rtas_token_lookup("ibm,write-pci-config");
sc->ibm_int_on = rtas_token_lookup("ibm,int-on");
sc->ibm_int_off = rtas_token_lookup("ibm,int-off");
sc->ibm_set_xive = rtas_token_lookup("ibm,set-xive");
sc->ibm_get_xive = rtas_token_lookup("ibm,get-xive");