/kvm-unit-tests/powerpc/ |
H A D | emulator.c | 43 *data = 8; /* Illegal instruction */ in heai_handler() 70 report(is_invalid == 8, "exception"); /* illegal instruction */ in test_illegal() 125 "std r11, 0*8(%[regs]);" in test_lswi() 126 "std r12, 1*8(%[regs]);" in test_lswi() 141 "std r11, 0*8(%[regs]);" in test_lswi() 142 "std r12, 1*8(%[regs]);" in test_lswi() 143 "std r13, 2*8(%[regs]);" in test_lswi() 144 "std r14, 3*8(%[regs]);" in test_lswi() 145 "std r15, 4*8(%[regs]);" in test_lswi() 146 "std r16, 5*8(%[regs]);" in test_lswi() [all …]
|
H A D | rtas.c | 44 int now[8]; in check_get_time_of_day() 52 ret = rtas_call(token, 0, 8, now); in check_get_time_of_day() 64 ret = rtas_call(token, 0, 8, now); in check_get_time_of_day() 68 ret = rtas_call(token, 0, 8, now); in check_get_time_of_day() 79 int date[8]; in check_set_time_of_day() 95 ret = rtas_call(gtod_token, 0, 8, date); in check_set_time_of_day() 105 ret = rtas_call(gtod_token, 0, 8, date); in check_set_time_of_day()
|
/kvm-unit-tests/riscv/efi/ |
H A D | crt0-efi-riscv64.S | 58 .8byte 0 // ImageBase 76 .8byte 0 // SizeOfStackReserve 77 .8byte 0 // SizeOfStackCommit 78 .8byte 0 // SizeOfHeapReserve 79 .8byte 0 // SizeOfHeapCommit 83 .8byte 0 // ExportTable 84 .8byte 0 // ImportTable 85 .8byte 0 // ResourceTable 86 .8byte 0 // ExceptionTable 87 .8byte 0 // CertificationTable [all …]
|
/kvm-unit-tests/arm/ |
H A D | debug.c | 97 case 8: in write_dbgbcr() 137 case 8: in write_dbgbvr() 177 case 8: in write_dbgwcr() 217 case 8: in write_dbgwvr() 243 asm volatile("msr daifset, #8"); in reset_debug_state() 281 asm volatile("msr daifclr, #8"); in test_hw_bp() 298 "msr daifclr, #8; msr daifclr, #8; msr daifclr, #8; msr daifclr, #8\n" in test_hw_bp() 299 "msr daifclr, #8; msr daifclr, #8; msr daifclr, #8; msr daifclr, #8\n" in test_hw_bp() 300 "msr daifclr, #8; msr daifclr, #8; msr daifclr, #8; msr daifclr, #8\n" in test_hw_bp() 301 "msr daifclr, #8; msr daifclr, #8; msr daifclr, #8; msr daifclr, #8\n" in test_hw_bp() [all …]
|
H A D | unittests.cfg | 121 #extra_params = -icount 8 -append 'cycle-counter 256' 128 smp = $((($MAX_SMP < 8)?$MAX_SMP:8)) 134 smp = $((($MAX_SMP < 8)?$MAX_SMP:8)) 158 smp = $((($MAX_SMP < 8)?$MAX_SMP:8))
|
/kvm-unit-tests/s390x/ |
H A D | cpu-sie.S | 21 .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 22 std \i, \i * 8 + SIE_SAVEAREA_HOST_FPRS(%r3) 35 .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 36 ld \i, \i * 8 + SIE_SAVEAREA_GUEST_FPRS(%r3) 61 .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 62 std \i, \i * 8 + SIE_SAVEAREA_GUEST_FPRS(%r14) 67 .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 68 ld \i, \i * 8 + SIE_SAVEAREA_HOST_FPRS(%r14)
|
H A D | macros.S | 43 stg %r1, STACK_FRAME_INT_GRS1 + 8(%r15) 47 stg %r0, 13 * 8 + STACK_FRAME_INT_GRS0(%r15) 57 .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 58 std \i, \i * 8 + STACK_FRAME_INT_FPRS(%r15) 70 .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 71 ld \i, \i * 8 + STACK_FRAME_INT_FPRS(%r15) 77 lg %r1, STACK_FRAME_INT_GRS1 + 8(%r15)
|
H A D | sclp.c | 114 * it's enough to clear/copy the first 8 bytes of the buffer, while the SCCB 128 * Test SCCB lengths < 8. 134 for (len = 0; len < 8; len++) in test_sccb_too_short() 135 if (!test_one_simple(valid_code, pagebuf, len, 8, PGM_BIT_SPEC, 0)) in test_sccb_too_short() 138 report(len == 8, "SCCB too short"); in test_sccb_too_short() 148 for (offset = 1; offset < 8; offset++) in test_sccb_unaligned() 149 if (!test_one_simple(valid_code, offset + pagebuf, 8, 8, PGM_BIT_SPEC, 0)) in test_sccb_unaligned() 151 report(offset == 8, "SCCB unaligned"); in test_sccb_unaligned() 184 for (offset = 0; offset < LC_SIZE; offset += 8) in test_sccb_prefix() 194 for (offset = 0; offset < LC_SIZE; offset += 8) in test_sccb_prefix() [all …]
|
H A D | cpu.S | 34 stg %r15, GEN_LC_SW_INT_GRS + 15 * 8 44 lg %r15, GEN_LC_SW_INT_GRS + 15 * 8 48 stg %r0, GEN_LC_SW_INT_PSW + 8 59 stg %r14, GEN_LC_RESTART_NEW_PSW + 8 65 .align 8
|
H A D | sthyi.h | 82 char INFMNAME[8]; 101 char INFPPNAM[8]; 119 char INFPPNAM[8]; 124 char INFPLGNM[8];
|
H A D | intercept.c | 39 asm volatile(" stpx 0(%0) " : : "a"(8)); in test_stpx() 48 asm volatile(" stpx 0(%0) " : : "a"(-8L)); in test_stpx() 79 asm volatile(" spx 0(%0) " : : "a"(-8L)); in test_spx() 94 * area and our ram size is a multiple of 8k, after SPX aligns in test_spx() 95 * the address to 8k we have a completely accessible area. in test_spx() 116 asm volatile ("stap 0(%0)\n" : : "a"(8)); in test_stap() 125 asm volatile ("stap 0(%0)\n" : : "a"(-8L)); in test_stap() 141 asm volatile ("stidp 0(%0)\n" : : "a"(8)); in test_stidp() 150 asm volatile ("stidp 0(%0)\n" : : "a"(-8L)); in test_stidp()
|
/kvm-unit-tests/lib/ppc64/ |
H A D | opal-calls.S | 19 stw r12,8(r1) 20 std r2,-8(r1) /* use redzone */ 36 ld r12,8(r11) 45 ld r2,-8(r1) /* use redzone */ 46 lwz r11,8(r1);
|
/kvm-unit-tests/lib/arm/ |
H A D | ldivmod.S | 13 add r12, sp, #8 16 ldr r2, [sp, #8] // remainder returned in r2-r3 26 add r12, sp, #8 29 ldr r2, [sp, #8] // remainder returned in r2-r3
|
/kvm-unit-tests/lib/ppc64/asm/ |
H A D | pgtable-hwdef.h | 21 #define PTRS_PER_PGD (SZ_64K / 8) 22 #define PTRS_PER_PUD (SZ_4K / 8) 23 #define PTRS_PER_PMD (SZ_4K / 8) 25 #define PTRS_PER_PTE (SZ_4K / 8) 27 #define PTRS_PER_PTE (256 / 8)
|
/kvm-unit-tests/lib/s390x/asm/ |
H A D | uv.h | 63 BIT_UVC_CMD_SET_SHARED_ACCESS = 8, 84 } __attribute__((packed)) __attribute__((aligned(8))); 93 } __attribute__((packed)) __attribute__((aligned(8))); 116 } __attribute__((packed)) __attribute__((aligned(8))); 130 } __attribute__((packed)) __attribute__((aligned(8))); 142 } __attribute__((packed)) __attribute__((aligned(8))); 151 } __attribute__((packed)) __attribute__((aligned(8))); 163 } __attribute__((packed)) __attribute__((aligned(8))); 170 } __attribute__((packed)) __attribute__((aligned(8))); 178 } __attribute__((packed)) __attribute__((aligned(8))); [all …]
|
/kvm-unit-tests/lib/x86/ |
H A D | setjmp32.S | 7 mov %ebp, 8(%eax) 16 mov 8(%esp), %eax // get return value 21 mov 8(%ecx), %ebp
|
/kvm-unit-tests/lib/ |
H A D | ldiv32.c | 119 UTEST(0x7FFFFFFFFFFFFFFFULL, 17, 0x787878787878787, 8); in main() 120 UTEST(0x7FFFFFFFFFFFFFFFULL, 0x787878787878787, 17, 8); in main() 125 STEST(0x7FFFFFFFFFFFFFFFULL, 17, 0x787878787878787, 8); in main() 126 STEST(0x7FFFFFFFFFFFFFFFULL, -17, -0x787878787878787, 8); in main() 127 STEST(-0x7FFFFFFFFFFFFFFFULL, 17, -0x787878787878787, -8); in main() 128 STEST(-0x7FFFFFFFFFFFFFFFULL, -17, 0x787878787878787, -8); in main()
|
H A D | bitops.h | 23 #define BITS_PER_BYTE 8 57 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in fls() 58 num -= 8; in fls() 59 word <<= 8; in fls()
|
/kvm-unit-tests/lib/s390x/ |
H A D | stsi.h | 20 uint8_t name[8]; 27 } vm[8]; 29 uint8_t ext_names[8][256];
|
/kvm-unit-tests/lib/asm-generic/ |
H A D | io.h | 85 return ((x >> 8) & 0xff) | ((x & 0xff) << 8); in __bswap16() 92 return ((x & 0xff000000) >> 24) | ((x & 0x00ff0000) >> 8) | in __bswap32() 93 ((x & 0x0000ff00) << 8) | ((x & 0x000000ff) << 24); in __bswap32() 103 ((x & 0x00000000ff000000ULL) << 8) | in __bswap64() 104 ((x & 0x000000ff00000000ULL) >> 8) | in __bswap64() 198 assert(sizeof(long) == 8 || !(phys_addr >> 32)); in ioremap()
|
/kvm-unit-tests/lib/arm64/asm/ |
H A D | pgtable-hwdef.h | 19 * table descriptor is 8 bytes we have (PAGE_SHIFT - 3) bits per level. We 84 #define PMD_SECT_S (_AT(pmdval_t, 3) << 8) 106 #define PTE_SHARED (_AT(pteval_t, 3) << 8) /* SH[1:0], inner shareable */ 128 #define TCR_IRGN_NC ((UL(0) << 8) | (UL(0) << 24)) 129 #define TCR_IRGN_WBWA ((UL(1) << 8) | (UL(1) << 24)) 130 #define TCR_IRGN_WT ((UL(2) << 8) | (UL(2) << 24)) 131 #define TCR_IRGN_WBnWA ((UL(3) << 8) | (UL(3) << 24)) 132 #define TCR_IRGN_MASK ((UL(3) << 8) | (UL(3) << 24))
|
H A D | gic-v3-its.h | 33 #define GITS_BASER_NR_REGS 8 34 #define GITS_MAX_DEVICES 8 35 #define GITS_MAX_COLLECTIONS 8 77 #define GITS_TYPER_IDBITS GENMASK_ULL(12, 8) 78 #define GITS_TYPER_IDBITS_SHIFT 8 96 #define GITS_BASER_PAGE_SIZE_SHIFT (8)
|
H A D | sysreg.h | 14 ((((op0)&3)<<19)|((op1)<<16)|((crn)<<12)|((crm)<<8)|((op2)<<5)) 17 .irp num,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 62 " .irp num,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30\n" 78 #define ID_AA64PFR1_EL1_MTE_SHIFT 8 102 #define SCTLR_EL1_SED _BITULL(8)
|
/kvm-unit-tests/ |
H A D | .editorconfig | 13 charset = utf-8 15 indent_size = 8
|
/kvm-unit-tests/lib/linux/ |
H A D | pci_regs.h | 62 #define PCI_CLASS_REVISION 0x08 /* High 24 bits are class, low 8 revision */ 67 #define PCI_CACHE_LINE_SIZE 0x0c /* 8 bits */ 68 #define PCI_LATENCY_TIMER 0x0d /* 8 bits */ 69 #define PCI_HEADER_TYPE 0x0e /* 8 bits */ 74 #define PCI_BIST 0x0f /* 8 bits */ 114 #define PCI_INTERRUPT_LINE 0x3c /* 8 bits */ 115 #define PCI_INTERRUPT_PIN 0x3d /* 8 bits */ 116 #define PCI_MIN_GNT 0x3e /* 8 bits */ 117 #define PCI_MAX_LAT 0x3f /* 8 bits */ 254 #define PCI_PM_SIZEOF 8 [all …]
|