Home
last modified time | relevance | path

Searched full:as (Results 1 – 25 of 142) sorted by relevance

123456

/kvm-unit-tests/lib/
H A Dpci-host-generic.c2 * Generic PCI host controller as described in PCI Bus Binding to Open Firmware
60 struct pci_addr_space *as; in pci_dt_probe() local
132 as = &host->addr_space[0]; in pci_dt_probe()
137 * cells as follows: in pci_dt_probe()
146 as->type = of_flags_to_pci_type(fdt32_to_cpu(data[0])); in pci_dt_probe()
147 as->pci_start = ((u64)fdt32_to_cpu(data[1]) << 32) | in pci_dt_probe()
151 as->start = fdt32_to_cpu(data[3]); in pci_dt_probe()
152 as->size = ((u64)fdt32_to_cpu(data[4]) << 32) | in pci_dt_probe()
155 as->start = ((u64)fdt32_to_cpu(data[3]) << 32) | in pci_dt_probe()
157 as->size = ((u64)fdt32_to_cpu(data[5]) << 32) | in pci_dt_probe()
[all …]
H A Drand.c115 * @hash: Output hash as a word array, ordered such that the first word contains
121 * ordering as defined by the specification, that is big endian.
122 * The same applies to interpreting the output array as bytes.
123 * The function computes the same as: printf "%08x" ${input[@]} | xxd -r -p | sha256sum .
/kvm-unit-tests/
H A DLICENSE70 the term "modification".) Each licensee is addressed as "you".
80 source code as you receive it, in any medium, provided that you
100 part thereof, to be licensed as a whole at no charge to all third
114 These requirements apply to the modified work as a whole. If
118 sections when you distribute them as separate works. But when you
119 distribute the same sections as part of a whole which is a work based
149 c) Accompany it with the information you received as to the offer
159 control compilation and installation of the executable. However, as a
168 access to copy the source code from the same place counts as
173 except as expressly provided under this License. Any attempt
[all …]
H A DREADME4 description of this project, as well as running tests and adding
30 clang may be used as an alternative to gcc.
44 The tests can be built as standalone. To create and use standalone tests do:
53 each as a standalone test.
101 inputs, i.e. all args will be available as argv strings in main().
124 Some tests are not safe to run by default, as they may crash the
H A DREADME.md4 description of this project, as well as running tests and adding
30 clang may be used as an alternative to gcc.
44 The tests can be built as standalone. To create and use standalone tests do:
53 each as a standalone test.
101 inputs, i.e. all args will be available as argv strings in main().
124 Some tests are not safe to run by default, as they may crash the
H A D.travis.yml15 - CONFIG="--arch=ppc64 --endian=little --cc=clang --cflags=-no-integrated-as"
24 - CONFIG="--arch=s390x --cc=clang-11 --cflags=-no-integrated-as"
H A DCOPYRIGHT6 as published by the Free Software Foundation. See the file LICENSE for details.
/kvm-unit-tests/s390x/
H A Dfirq.c31 * accidentially detecting a stopped CPU as waiting and resulting in the actually
67 * until not reported as running -- after all, our SCLP processing in test_wait_state_delivery()
68 * will take some time as well and smp_cpu_setup() returns when we're in test_wait_state_delivery()
84 * SCLP requests as done. in test_wait_state_delivery()
H A Dmigration-skey.c7 * verifies that the storage keys are still as we expect.
64 * Storage keys are 7 bit, lowest bit is always returned as zero in set_test_pattern()
67 * protection as well as reference and change indication for in set_test_pattern()
H A Dex.c8 * The execution of the target instruction is the same as if it was executed
9 * normally as part of the instruction sequence, except for the instruction
28 * specified as target.
H A Duv-guest.c83 * BIT_UVC_CMD_REMOVE_SHARED_ACCESS are always present as they in test_query()
85 * However, we only need to check for QUI as in test_query()
191 * as the fence tests if both shared bits are present in main()
/kvm-unit-tests/x86/
H A Dintel-iommu.c104 /* We are good as long as we reach here */ in vtd_test_ir()
127 /* We are good as long as we reach here */ in vtd_test_ir()
H A Dlam.c52 * Use LAM57_MASK as mask to construct non-canonical address if LAM is in get_lam_mask()
58 * Bit 63 determines if the address should be treated as a user address in get_lam_mask()
111 /* invlpg with tagged address is same as NOP, no #GP expected. */
201 * the return value of alloc_vpage() is considered as kernel mode in test_lam_sup()
234 * identical mapping, the linear address will be considered as user mode in test_lam_user()
235 * address from the view of LAM, and the metadata bits are not used as in test_lam_user()
H A DREADME2 Tests for the x86 architecture are run as kernel images for qemu that support
47 treats the legacy exit status of 0 as an error, converting it to an exit
H A Ddummy.c6 * scripts/runtime.bash uses this test as a canary to determine if the in main()
H A Dmsr.c14 * 1. msr index as a base 16 number
15 * 2. value as a base 16 number
64 * the desired value as extra bits to set. in __test_msr_rw()
197 * 64-bit hosts. Don't test the negative case, as KVM doesn't in test_mce_msrs()
213 * without jumping to a new base address), as the last unclaimed MSR is in test_mce_msrs()
/kvm-unit-tests/lib/s390x/
H A Dinterrupt.c112 * @as: specifies the address space mode to use. Not set if use_dat is false.
121 void irq_set_dat_mode(bool use_dat, enum address_space as) in irq_set_dat_mode() argument
132 assert(as == AS_PRIM || as == AS_ACCR || as == AS_SECN || as == AS_HOME); in irq_set_dat_mode()
138 psw->as = as; in irq_set_dat_mode()
H A Dcss_lib.c151 /* We keep track of the first device as our test device */ in css_enumerate()
229 * we consider both cases as errors. in css_enable()
295 * we consider both cases as errors. in schib_update_mb()
361 /* Lowlevel set the SID as interrupt parameter. */ in css_irq_io()
382 report_fail("tsch reporting sch %08x as not operational", sid); in css_irq_io()
498 * @isc: The interruption Sub Class as a bitfield
/kvm-unit-tests/x86/efi/
H A Drun38 # This host dir will be loaded by QEMU as a FAT32 image
53 # Also, pass in an EFI-specific smp count (i.e., `-smp 1`) as the last argument
/kvm-unit-tests/arm/
H A Ddummy.c6 * scripts/runtime.bash uses this test as a canary to determine if the in main()
H A DMakefile.arm11 $(error Cannot build arm32 tests as EFI apps)
/kvm-unit-tests/riscv/efi/
H A Dcrt0-efi-riscv64.S15 * GNU General Public License as published by the Free Software Foundation;
118 * dummy section as far as we are concerned.
/kvm-unit-tests/lib/s390x/asm/
H A Dbitops.h3 * Bitops taken from the kernel as most developers are already used
/kvm-unit-tests/lib/riscv/asm/
H A Disa.h8 * We assume and use several extensions, such as Zicsr and Zifencei.
/kvm-unit-tests/lib/libfdt/
H A Dlibfdt_internal.h83 * You should have another method of validating the device tree, such as a
97 * an intermediate (but valid) state. As an example, adding a property
147 * steps (such as dropping the property name from the string table).

123456