/freebsd/sys/powerpc/ofw/ |
H A D | rtas.c | 45 #include <machine/rtas.h> 50 static MALLOC_DEFINE(M_RTAS, "rtas", "Run Time Abstraction Service"); 58 static phandle_t rtas; variable 66 * After the VM is up, allocate RTAS memory and instantiate it 81 rtas = OF_finddevice("/rtas"); in rtas_setup() 82 if (rtas == -1) { in rtas_setup() 83 rtas = 0; in rtas_setup() 86 OF_package_to_path(rtas, path, sizeof(path)); in rtas_setup() 88 mtx_init(&rtas_mtx, "RTAS", NULL, MTX_SPIN); in rtas_setup() 90 /* RTAS must be called with everything turned off in MSR */ in rtas_setup() [all …]
|
H A D | ofwcall64.S | 53 .llong 0 /* RTAS entry point */ 220 * RTAS 32-bit Entry Point. Similar to the OF one, but simpler (no separate 232 * We need to save the following, because RTAS's register save/ 263 /* Read RTAS entry and reg save area pointers */ 271 * Set the MSR to the RTAS value. This has the side effect of disabling 286 * Set up RTAS register save area, so that we can get back all of 288 * Put this in r1, since RTAS is obliged to save it. Kernel globals 317 /* Finally, branch to RTAS */ 336 * map, we no longer are as a result of LR truncation in RTAS. 351 /* Sign-extend the return value from RTAS */
|
H A D | ofwcall32.S | 46 .long 0 /* RTAS entry point */ 124 * RTAS Entry Point. Similar to the OF one, but simpler (no separate stack) 149 /* Set the MSR to the RTAS value */ 155 /* Branch to RTAS */
|
/freebsd/stand/powerpc/ofw/ |
H A D | ofwfdt.c | 97 ihandle_t rtas; in ofwfdt_fixups() local 101 * Instantiate and add reservations for RTAS state if present in ofwfdt_fixups() 104 offset = fdt_path_offset(fdtp, "/rtas"); in ofwfdt_fixups() 110 node = OF_finddevice("/rtas"); in ofwfdt_fixups() 112 OF_getencprop(node, "rtas-size", &len, sizeof(len)); in ofwfdt_fixups() 117 /* Instantiate RTAS */ in ofwfdt_fixups() 118 rtas = OF_open(path); in ofwfdt_fixups() 120 OF_call_method("instantiate-rtas", rtas, 1, 1, (cell_t)rtasmem, in ofwfdt_fixups() 125 fdt_setprop(fdtp, offset, "linux,rtas-entry", &base, in ofwfdt_fixups() 128 offset = fdt_path_offset(fdtp, "/rtas"); in ofwfdt_fixups() [all …]
|
/freebsd/sys/powerpc/pseries/ |
H A D | plpar_pcibus.c | 43 #include <machine/rtas.h> 76 phandle_t rtas; in plpar_pcibus_probe() local 81 rtas = OF_finddevice("/rtas"); in plpar_pcibus_probe() 82 if (!OF_hasprop(rtas, "ibm,hypertas-functions")) in plpar_pcibus_probe()
|
H A D | rtas_dev.c | 44 #include <machine/rtas.h> 69 "rtas", 81 if (strcmp(name, "rtas") != 0) in rtasdev_probe()
|
H A D | rtas_pci.c | 51 #include <machine/rtas.h> 114 if (OF_getproplen(ofw_bus_get_node(dev), "used-by-rtas") < 0) in rtaspci_probe() 119 device_set_desc(dev, "RTAS Host-PCI bridge"); in rtaspci_probe()
|
H A D | platform_chrp.c | 47 #include <machine/rtas.h> 141 /* XXX: check for /rtas/ibm,hypertas-functions? */ in chrp_attach() 503 printf("RTAS uninitialized: unable to start AP %d\n", in chrp_smp_start_cpu() 510 printf("RTAS unknown method: unable to start AP %d\n", in chrp_smp_start_cpu() 521 printf("RTAS error (%d/%d): unable to start AP %d\n", in chrp_smp_start_cpu()
|
H A D | xics.c | 48 #include <machine/rtas.h> 219 device_printf(dev, "Cannot attach without RTAS or OPAL\n"); in xicp_attach()
|
/freebsd/sys/powerpc/include/ |
H A D | rtas.h | 36 * RTAS functions are defined by 32-bit integer tokens. These vary from 38 * using rtas_token_lookup(). If RTAS is not available, rtas_token_lookup() 40 * rtas_exists(). Otherwise, rtas_call_method() returns one of the RTAS 48 /* RTAS Status Codes: see CHRP or PAPR specification */
|
/freebsd/stand/kboot/kboot/arch/powerpc64/ |
H A D | fdt_arch.c | 49 * Add reservations for OPAL and RTAS state if present in fdt_arch_fixups() 63 offset = fdt_path_offset(fdtp, "/rtas"); in fdt_arch_fixups() 66 base = fdt_getprop(fdtp, offset, "linux,rtas-base", &len); in fdt_arch_fixups() 67 size = fdt_getprop(fdtp, offset, "rtas-size", &len); in fdt_arch_fixups()
|
/freebsd/sys/contrib/device-tree/Bindings/serial/ |
H A D | 8250.yaml | 159 used-by-rtas: 162 Set to indicate that the port is in use by the OpenFirmware RTAS and
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_if.m | 32 * @defgroup OFW ofw - KObj methods for Open Firmware RTAS implementations
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_rsb.c | 117 * a read or write transaction. The following are valid RTAs:
|
/freebsd/sys/powerpc/powernv/ |
H A D | platform_powernv.c | 43 #include <machine/rtas.h>
|
/freebsd/sys/conf/ |
H A D | files.powerpc | 306 powerpc/ofw/rtas.c optional aim
|