Home
last modified time | relevance | path

Searched full:from (Results 1 – 25 of 192) sorted by relevance

12345678

/kvm-unit-tests/x86/
H A Dumip.c87 report(gp_count == 0, "no exception from smsw"); in test_umip_nogp()
89 report(gp_count == 0, "no exception from sgdt"); in test_umip_nogp()
91 report(gp_count == 0, "no exception from sidt"); in test_umip_nogp()
93 report(gp_count == 0, "no exception from sldt"); in test_umip_nogp()
95 report(gp_count == 0, "no exception from str"); in test_umip_nogp()
98 report(gp_count == 1, "exception from mov %%cr0, %%eax"); in test_umip_nogp()
109 report(gp_count == 1, "exception from smsw"); in test_umip_gp()
112 report(gp_count == 1, "exception from sgdt"); in test_umip_gp()
114 report(gp_count == 1, "exception from sidt"); in test_umip_gp()
116 report(gp_count == 1, "exception from sldt"); in test_umip_gp()
[all …]
H A DREADME3 multiboot format. The tests use an infrastructure called from the bios code.
27 emulator: move to/from regs, cmps, push, pop, to/from cr8, smsw and lmsw
44 the unit-test is done, the exit status of qemu is 1, different from the
H A Dtaskswitch2.c126 printf("Return from nmi %d\n", test_count); in test_kernel_mode_int()
135 printf("Return from APIC nmi\n"); in test_kernel_mode_int()
140 printf("Trigger IRQ from APIC\n"); in test_kernel_mode_int()
146 printf("Return from APIC IRQ\n"); in test_kernel_mode_int()
162 printf("Return from int 0\n"); in test_kernel_mode_int()
170 printf("Return from into\n"); in test_kernel_mode_int()
178 printf("Return from int 3\n"); in test_kernel_mode_int()
191 printf("Return from pf tss\n"); in test_kernel_mode_int()
204 printf("Return from call\n"); in test_gdt_task_gate()
H A Dsmap.c75 "write from user page with SMAP=0, AC=0, WP=0, PTE.U=1 && PTE.W=0"); in check_smap_nowp()
83 "read from user page with SMAP=1, AC=0, WP=0, PTE.U=1 && PTE.W=0"); in check_smap_nowp()
138 report(pf_count == 0, "read from user page with AC=1"); in main()
144 "read from user page with AC=0"); in main()
157 "read from user page with AC=0"); in main()
199 // TODO: implicit kernel access from ring 3 (e.g. int) in main()
H A Dkvmclock_test.c35 … printf("Raw nanoseconds value from kvmclock: %" PRIu64 " (cpu %d)\n", kvm_clock_read(), smp_id()); in wallclock_test()
36 printf("Seconds get from kvmclock: %ld (cpu %d, offset: %ld)\n", ksec, smp_id(), offset); in wallclock_test()
126 printf("Seconds get from host: %ld\n", sec); in main()
H A Dtrampolines.S2 * Common bootstrapping code to transition from 16-bit to 32-bit code, and to
3 * transition from 32-bit to 64-bit code (x86-64 only)
/kvm-unit-tests/lib/
H A Dpci-edu.c45 uint64_t from, to; in edu_dma() local
52 from_device ? "FROM" : "TO", in edu_dma()
56 from = dev_offset + EDU_DMA_START; in edu_dma()
60 from = iova; in edu_dma()
65 edu_reg_writeq(dev, EDU_REG_DMA_SRC, from); in edu_dma()
H A Dalloc_page.h48 * Allocate aligned memory from any area and with default flags.
63 * Allocate 1ull << order naturally aligned pages from any area and with
73 * Allocate one page from any area and with default flags.
/kvm-unit-tests/lib/arm/asm/
H A Dassembler.h3 * Based on several files from Linux version v5.10: arch/arm/mm/proc-macros.S,
8 #error "Only include this from assembly code"
15 * dcache_line_size - get the minimum D-cache line size from the CTR register
H A Dgic-v3.h2 * All GIC* defines are lifted from include/linux/irqchip/arm-gic-v3.h
30 /* Re-Distributor registers, offsets from RD_base */
35 /* Re-Distributor registers, offsets from SGI_base */
/kvm-unit-tests/lib/arm64/asm/
H A Dassembler.h3 * Based on the file arch/arm64/include/asm/assembled.h from Linux v5.10, which
12 #error "Only include this from assembly code"
20 * from the CTR register.
/kvm-unit-tests/
H A DREADME.macOS.md19 installed from homebrew:
49 ### Building cross-compiler from source
51 An alternative is to build cross-compiler toolchain from source using
H A DLICENSE74 running the Program is not restricted, and the output from the Program
99 whole or in part contains or is derived from the Program or any
115 identifiable sections of that work are not derived from the Program,
167 access to copy from a designated place, then offering equivalent
168 access to copy the source code from the same place counts as
176 However, parties who have received copies, or rights, from you under
190 Program), the recipient automatically receives a license from the
201 excuse you from the conditions of this License. If you cannot
208 refrain entirely from distribution of the Program.
238 of the General Public License from time to time. Such new versions will
H A DREADME.md82 For running tests that involve migration from one QEMU instance to another
83 you also need to have the "ncat" binary (from the nmap.org project) installed,
106 runner script reads those information from a configuration file found
174 from the ./errata.txt file and the host's kernel version is provided to
/kvm-unit-tests/x86/efi/
H A Dcrt0-efi-x86_64.S1 /* The following code is copied from GNU-EFI/gnuefi/crt0-efi-x86_64.S
23 from this software without specific prior written permission.
61 /* Switch away from EFI stack. */
H A DREADME.md35 ### Code from GNU-EFI
37 This dir contains source code and linker script copied from
H A Dreloc_x86_64.c1 /* This file is copied from GNU-EFI/gnuefi/reloc_x86_64.c
23 from this software without specific prior written permission.
/kvm-unit-tests/lib/linux/
H A Dcompiler.h3 * Taken from Linux commit 219d54332a09 ("Linux 5.4"), from the file
74 * Prevent the compiler from merging or refetching reads or writes. The
75 * compiler is also forbidden from reordering successive instances of
/kvm-unit-tests/s390x/
H A Dspec_ex.c30 * find the instruction following the faulting one from the old PSW.
183 int to = 0, from = 0x0dd; in odd_ex_target() local
189 " lr %[to],%[from]\n" in odd_ex_target()
196 : [from] "d" (from) in odd_ex_target()
200 report(to != from, "did not perform ex with odd target"); in odd_ex_target()
209 /* LOAD PAIR FROM QUADWORD (LPQ) requires quadword alignment */ in bad_alignment_lqp()
287 * forbid diagnose from being NULL at all to keep things simple
H A Dex.c7 * by reading an instruction from memory and optionally modifying some of its bits.
26 * Saves the next instruction address (address from PSW + length of instruction)
73 * In case the address calculation is correct, we jump by the relative offset 1b-0b from 0b to 1b. in test_bras()
75 * put a valid instruction at the same relative offset from the exrl, so the test continues in a in test_bras()
/kvm-unit-tests/lib/x86/
H A Dsmp.c38 /* The BSP is online from time zero. */
181 * On i386, place the gdt descriptor to be loaded from SIPI vector right after in setup_rm_gdt()
193 * | <AP bootstrapping code called from SIPI> in setup_rm_gdt()
215 * a location known to / accessible from the trampoline. in setup_rm_gdt()
227 * to be reachable from the SIPI vector. in setup_rm_gdt()
/kvm-unit-tests/lib/arm/
H A Dio.c3 * devices exposed from QEMU, e.g. pl011 and chr-testdev. That's
25 * base address that we read from the device tree later. This is
37 * the TX register at offset 0 from the base address, so there is no in uart0_init_fdt()
/kvm-unit-tests/powerpc/
H A Demulator.c156 * we should modify 32/4 = 8 regs, from r11 to r18 in test_lswi()
180 /* modify two registers from r31, wrap around to r0 */ in test_lswi()
200 /* loading three registers from r31 wraps around to r1, in test_lswi()
225 * Load n bytes from address EA into (n / 4) consecutive registers,
309 * we should modify 32/4 = 8 regs, from r11 to r18 in test_lswx()
335 /* modify two registers from r31, wrap around to r0 */ in test_lswx()
358 /* loading three registers from r31 wraps around to r1, in test_lswx()
/kvm-unit-tests/lib/ppc64/asm/
H A Dmmu.h44 /* AP should come from dt (for pseries, at least) */ in flush_tlb_page()
68 /* AP should come from dt (for pseries, at least) */ in flush_tlb_page_local()
/kvm-unit-tests/lib/libfdt/
H A DREADME2 The code in this directory has been imported from the libfdt

12345678