Home
last modified time | relevance | path

Searched refs:TESTDEV_IO_PORT (Results 1 – 2 of 2) sorted by relevance

/kvm-unit-tests/x86/
H A Damd_sev.c18 #define TESTDEV_IO_PORT 0xe0 macro
30 : : "i"((short)TESTDEV_IO_PORT), in test_stringio()
33 asm volatile("inw %1, %0\n\t" : "=a"(got) : "i"((short)TESTDEV_IO_PORT)); in test_stringio()
H A Demulator.c12 #define TESTDEV_IO_PORT 0xe0 macro
28 : : "i"((short)TESTDEV_IO_PORT), in test_stringio()
30 asm volatile("inb %1, %0\n\t" : "=a"(r) : "i"((short)TESTDEV_IO_PORT)); in test_stringio()
36 : : "i"((short)TESTDEV_IO_PORT), in test_stringio()
39 asm volatile("in %1, %0\n\t" : "=a"(r) : "i"((short)TESTDEV_IO_PORT)); in test_stringio()
578 asm volatile("outw %%ax, %%dx \n\t" : : "a"(0x9999), "d"(TESTDEV_IO_PORT)); in test_string_io_mmio()
580 asm volatile ("cld; rep insb" : : "d" (TESTDEV_IO_PORT), "D" (mmio), "c" (1024)); in test_string_io_mmio()