Lines Matching +full:read +full:- +full:to +full:- +full:read
3 * devices exposed from QEMU, e.g. pl011 and chr-testdev. That's
13 #include <chr-testdev.h>
23 * Use this guess for the uart base in order to make an attempt at
25 * base address that we read from the device tree later. This is
26 * the address we expect the virtual machine manager to put in
36 * kvm-unit-tests uses the uart only for output. Both uart models have in uart0_init_fdt()
38 * need to treat them separately. in uart0_init_fdt()
45 assert(ret >= 0 || ret == -FDT_ERR_NOTFOUND); in uart0_init_fdt()
47 if (ret == -FDT_ERR_NOTFOUND) { in uart0_init_fdt()
51 assert(ret == 0 || ret == -FDT_ERR_NOTFOUND); in uart0_init_fdt()
82 assert_msg(spcr, "Unable to find ACPI SPCR"); in uart0_init_acpi()
83 uart0_base = ioremap(spcr->serial_port.address, spcr->serial_port.bit_width); in uart0_init_acpi()
120 int c = -1; in __getchar()
138 * Defining halt to take 'code' as an argument guarantees that it will
139 * be in x0/r0 when we halt. That gives us a final chance to see the exit
149 * up when chr-testdev is not present. in exit()