Home
last modified time | relevance | path

Searched refs:MMAP_SZ (Results 1 – 3 of 3) sorted by relevance

/xen-4.10.0-shim-comet/tools/tests/x86_emulator/
A Dx86-emulate.c61 return mprotect((void *)(sp & -0x1000L) - (MMAP_SZ - 0x1000), in emul_test_init()
62 MMAP_SZ, PROT_READ|PROT_WRITE|PROT_EXEC) == 0; in emul_test_init()
A Dtest_x86_emulator.c2876 regs.edx = (unsigned long)res + MMAP_SZ - 4; in main()
2879 res[MMAP_SZ / sizeof(*res) - 1] || in main()
2880 memcmp(res + MMAP_SZ / sizeof(*res) - 8, in main()
2910 regs.edx = (unsigned long)res + MMAP_SZ - 8; in main()
2913 res[MMAP_SZ / sizeof(*res) - 1] || in main()
2914 res[MMAP_SZ / sizeof(*res) - 2] || in main()
2915 memcmp(res + MMAP_SZ / sizeof(*res) - 8, in main()
3062 snprintf(instr, (char *)res + MMAP_SZ - instr, in main()
3065 if ( j >= sizeof(*res) && j <= MMAP_SZ / 4 ) in main()
3071 memset((void *)res + MMAP_SZ / 4, ~0, 3 * MMAP_SZ / 4); in main()
[all …]
A Dx86-emulate.h52 #define MMAP_SZ 16384 macro

Completed in 7 milliseconds