]> Git Repo - qemu.git/blame - tests/tcg/cris/sys.h
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[qemu.git] / tests / tcg / cris / sys.h
CommitLineData
dd43edf4
TS
1#include <unistd.h>
2
3#define STRINGIFY(x) #x
4#define TOSTRING(x) STRINGIFY(x)
5
6#define CURRENT_LOCATION __FILE__ ":" TOSTRING(__LINE__)
7
8#define err() \
9{ \
10 _fail("at " CURRENT_LOCATION " "); \
11}
12
13#define mb() asm volatile ("" : : : "memory")
14
64b85a8f
BS
15void pass(void);
16void _fail(char *reason);
This page took 0.78344 seconds and 4 git commands to generate.