File:  [Qemu by Fabrice Bellard] / qemu / tests / cris / sys.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:35:07 2018 UTC (8 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1001, qemu1000, qemu0151, qemu0150, qemu0141, qemu0140, HEAD
qemu 0.14.0

#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.