1/* 2 * Copyright 1999, Be Incorporated. 3 * Copyright 2007, Haiku. 4 * Distributed under the terms of the MIT License. 5 * 6 * Authors: 7 * Be Incorporated 8 * Eric Petit <eric.petit@lapsus.org> 9 */ 10#ifndef GLOBAL_DATA_H 11#define GLOBAL_DATA_H 12 13 14#include <support/Debug.h> 15#undef TRACE 16#define TRACE(a...) _sPrintf("VMware: " a) 17 18#include "DriverInterface.h" 19#include "generic.h" 20 21/* Global variables */ 22extern int gFd; 23extern SharedInfo *gSi; 24extern area_id gSharedArea; 25extern int gAccelerantIsClone; 26extern thread_id gUpdateThread; 27extern volatile int gUpdateThreadDie; 28 29/* Fifo.c */ 30void FifoInit(void); 31void FifoSync(void); 32void FifoBeginWrite(void); 33void FifoWrite(uint32 value); 34void FifoEndWrite(void); 35void FifoUpdateFullscreen(void); 36 37#endif // GLOBAL_DATA_H 38