File:  [Qemu by Fabrice Bellard] / qemu / tests / tcg / cris / sys.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:35:54 2018 UTC (8 years, 3 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, HEAD
qemu 1.1.1

#include <unistd.h>

#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)

#define CURRENT_LOCATION __FILE__ ":" TOSTRING(__LINE__)

#define err()                         \
{                                     \
  _fail("at " CURRENT_LOCATION " ");  \
}

#define mb() asm volatile ("" : : : "memory")

void pass(void);
void _fail(char *reason);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.