]> git.saurik.com Git - apple/xnu.git/blame - tools/tests/execperf/exit.c
xnu-1699.22.73.tar.gz
[apple/xnu.git] / tools / tests / execperf / exit.c
CommitLineData
6d2010ae
A
1void mystart(void) __asm__("mystart");
2
3void mystart(void) {
4#if defined(__x86_64__)
5 asm volatile ("andq $0xfffffffffffffff0, %rsp\n");
6#elif defined(__i386__)
7 asm volatile ("andl $0xfffffff0, %esp\n");
8#else
9#error Unsupported architecture
10#endif
11 _Exit(42);
12}