Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
#include <SDL_types.h>
#include <SDL_endian.h>
Go to the source code of this file.
Data Structures | |
union | RegPair |
Macros | |
#define | COPYRIGHT_YEARS "2016-2022" |
#define | USE_REGPARM |
#define | ARCH_64BIT |
#define | ARCH_BITS 64 |
#define | ARCH_BITS_AS_TEXT "64" |
#define | CC_TYPE "UNKNOWN-COMPILER" |
#define | XEMU_UNREACHABLE_FATAL_ERROR() do { fprintf(stderr, "*** Unreachable code point hit in function %s\n", __func__); exit(1); } while(0) |
#define | XEMU_LIKELY(__x__) (__x__) |
#define | XEMU_UNLIKELY(__x__) (__x__) |
#define | XEMU_INLINE inline |
#define | XEMU_UNREACHABLE() XEMU_UNREACHABLE_FATAL_ERROR() |
#define | REGPARM(__n__) |
#define | O_BINARY 0 |
#define | DIRSEP_STR "/" |
#define | DIRSEP_CHR '/' |
#define | NL "\n" |
#define | NL_LENGTH 1 |
#define | PRINTF_LLD "%lld" |
#define | PRINTF_LLU "%llu" |
#define | MKDIR(__n) mkdir((__n), 0777) |
#define | NULL_DEVICE "/dev/null" |
#define | DEBUG(...) |
#define | DEBUGPRINT(...) |
#define | __BIGGEST_ALIGNMENT__ 16 |
#define | XEMU_MISSING_BIGGEST_ALIGNMENT_WORKAROUND |
#define | ALIGNED(n) __attribute__ ((aligned (n))) |
#define | MAXALIGNED ALIGNED(__BIGGEST_ALIGNMENT__) |
#define | ENDIAN_NAME "LE" |
#define | ENDIAN_GOOD |
#define | ENDIAN_CHECKER_BYTE_L 0x01 |
#define | ENDIAN_CHECKER_BYTE_H 0x23 |
#define | ENDIAN_CHECKER_WORD 0x2301 |
#define | ENDIAN_CHECKER_DWORD 0x67452301 |
#define | XEMUEXIT(n) exit(n) |
#define | BOOLEAN_VALUE(n) (!!(n)) |
#define | VOIDPTR_TO_INT(x) ((int)(intptr_t)(void*)(x)) |
#define | VOIDPTR_TO_UINT(x) ((unsigned int)(uintptr_t)(void*)(x)) |
#define | TO_STR_LEVEL1_(x) #x |
#define | STRINGIFY(x) TO_STR_LEVEL1_(x) |
Functions | |
void | xemu_dump_version (FILE *fp, const char *slogan) |
int | xemu_is_official_build (void) |
Variables | |
FILE * | debug_fp |
int | chatty_xemu |
const char | XEMU_BUILDINFO_ON [] |
const char | XEMU_BUILDINFO_AT [] |
const char | XEMU_BUILDINFO_GIT [] |
const char | XEMU_BUILDINFO_CC [] |
const char | XEMU_BUILDINFO_TARGET [] |
const char | XEMU_BUILDINFO_CDATE [] |
const char | emulators_disclaimer [] |
#define __BIGGEST_ALIGNMENT__ 16 |
Definition at line 179 of file emutools_basicdefs.h.
#define ALIGNED | ( | n | ) | __attribute__ ((aligned (n))) |
Definition at line 187 of file emutools_basicdefs.h.
#define ARCH_64BIT |
Definition at line 88 of file emutools_basicdefs.h.
#define ARCH_BITS 64 |
Definition at line 89 of file emutools_basicdefs.h.
#define ARCH_BITS_AS_TEXT "64" |
Definition at line 90 of file emutools_basicdefs.h.
#define BOOLEAN_VALUE | ( | n | ) | (!!(n)) |
Definition at line 249 of file emutools_basicdefs.h.
#define CC_TYPE "UNKNOWN-COMPILER" |
Definition at line 104 of file emutools_basicdefs.h.
#define COPYRIGHT_YEARS "2016-2022" |
Definition at line 24 of file emutools_basicdefs.h.
#define DEBUG | ( | ... | ) |
Definition at line 167 of file emutools_basicdefs.h.
#define DEBUGPRINT | ( | ... | ) |
Definition at line 171 of file emutools_basicdefs.h.
#define DIRSEP_CHR '/' |
Definition at line 142 of file emutools_basicdefs.h.
#define DIRSEP_STR "/" |
Definition at line 141 of file emutools_basicdefs.h.
#define ENDIAN_CHECKER_BYTE_H 0x23 |
Definition at line 202 of file emutools_basicdefs.h.
#define ENDIAN_CHECKER_BYTE_L 0x01 |
Definition at line 201 of file emutools_basicdefs.h.
#define ENDIAN_CHECKER_DWORD 0x67452301 |
Definition at line 204 of file emutools_basicdefs.h.
#define ENDIAN_CHECKER_WORD 0x2301 |
Definition at line 203 of file emutools_basicdefs.h.
#define ENDIAN_GOOD |
Definition at line 200 of file emutools_basicdefs.h.
#define ENDIAN_NAME "LE" |
Definition at line 199 of file emutools_basicdefs.h.
#define MAXALIGNED ALIGNED(__BIGGEST_ALIGNMENT__) |
Definition at line 188 of file emutools_basicdefs.h.
#define MKDIR | ( | __n | ) | mkdir((__n), 0777) |
Definition at line 147 of file emutools_basicdefs.h.
#define NL "\n" |
Definition at line 143 of file emutools_basicdefs.h.
#define NL_LENGTH 1 |
Definition at line 144 of file emutools_basicdefs.h.
#define NULL_DEVICE "/dev/null" |
Definition at line 148 of file emutools_basicdefs.h.
#define O_BINARY 0 |
Definition at line 140 of file emutools_basicdefs.h.
#define PRINTF_LLD "%lld" |
Definition at line 145 of file emutools_basicdefs.h.
#define PRINTF_LLU "%llu" |
Definition at line 146 of file emutools_basicdefs.h.
#define REGPARM | ( | __n__ | ) |
Definition at line 133 of file emutools_basicdefs.h.
#define STRINGIFY | ( | x | ) | TO_STR_LEVEL1_(x) |
Definition at line 275 of file emutools_basicdefs.h.
Definition at line 274 of file emutools_basicdefs.h.
#define USE_REGPARM |
Definition at line 30 of file emutools_basicdefs.h.
Definition at line 270 of file emutools_basicdefs.h.
Definition at line 271 of file emutools_basicdefs.h.
#define XEMU_INLINE inline |
Definition at line 126 of file emutools_basicdefs.h.
#define XEMU_LIKELY | ( | __x__ | ) | (__x__) |
Definition at line 124 of file emutools_basicdefs.h.
#define XEMU_MISSING_BIGGEST_ALIGNMENT_WORKAROUND |
Definition at line 180 of file emutools_basicdefs.h.
#define XEMU_UNLIKELY | ( | __x__ | ) | (__x__) |
Definition at line 125 of file emutools_basicdefs.h.
#define XEMU_UNREACHABLE | ( | ) | XEMU_UNREACHABLE_FATAL_ERROR() |
Definition at line 127 of file emutools_basicdefs.h.
#define XEMU_UNREACHABLE_FATAL_ERROR | ( | ) | do { fprintf(stderr, "*** Unreachable code point hit in function %s\n", __func__); exit(1); } while(0) |
Definition at line 108 of file emutools_basicdefs.h.
#define XEMUEXIT | ( | n | ) | exit(n) |
Definition at line 246 of file emutools_basicdefs.h.
void xemu_dump_version | ( | FILE * | fp, |
const char * | slogan | ||
) |
int xemu_is_official_build | ( | void | ) |
FILE* debug_fp |
Definition at line 87 of file configuration.c.
const char emulators_disclaimer[] |
Definition at line 25 of file emutools_buildinfo.c.
const char XEMU_BUILDINFO_AT[] |
Definition at line 251 of file emutools_basicdefs.h.
const char XEMU_BUILDINFO_CC[] |
Definition at line 251 of file emutools_basicdefs.h.
const char XEMU_BUILDINFO_CDATE[] |
Definition at line 251 of file emutools_basicdefs.h.
const char XEMU_BUILDINFO_GIT[] |
Definition at line 251 of file emutools_basicdefs.h.
const char XEMU_BUILDINFO_ON[] |
const char XEMU_BUILDINFO_TARGET[] |
Definition at line 251 of file emutools_basicdefs.h.