Zookeeper/Zookeeper.hpp

50 lines
1 KiB
C++
Raw Permalink Normal View History

2015-06-11 15:31:31 -04:00
#pragma once
2016-05-10 00:54:27 -04:00
#include <boost/format.hpp>
2015-06-11 15:31:31 -04:00
#include <iostream>
#include <iomanip>
2015-09-16 21:41:44 -04:00
#include <cassert>
#include <sys/time.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <list>
#include <map>
2015-06-11 15:31:31 -04:00
using namespace std;
2016-05-10 00:54:27 -04:00
using boost::format;
2015-06-11 15:31:31 -04:00
#define bailout(expr) do { if(expr) { cout << "Bailout: " << #expr << " @ " << __FILE__ << " (" << dec << __LINE__ << ")" << endl; exit(1); } } while(0)
#define IN(a, b) (((b).find(a)) != (b).end())
2016-05-20 05:38:36 -04:00
// Xbox has 64MB RAM, Chihiro has 128 MB RAM
2016-05-20 05:17:51 -04:00
#define RAM_SIZE (128 * ONE_MB)
#define KRAM_SIZE (128 * ONE_MB)
2015-06-11 15:31:31 -04:00
2016-05-20 05:38:36 -04:00
#define KBASE 0xC0000000
2016-06-04 18:50:30 -04:00
#include "libretro.h"
2016-05-17 14:37:00 -04:00
#include "HV.hpp"
#ifdef MAC
#include "Mac/HVMac.hpp"
#endif
#include "Shared.hpp"
2016-05-10 21:18:38 -04:00
#include "Hypercall.hpp"
2016-05-08 18:30:33 -04:00
#include "xbetypes.hpp"
2015-06-11 15:31:31 -04:00
#include "Xbe.hpp"
#include "Device.hpp"
2015-06-11 15:31:31 -04:00
#include "Cpu.hpp"
#include "Gpu.hpp"
#include "Lpc.hpp"
#include "Smbus.hpp"
#include "HandleManager.hpp"
#include "PageManager.hpp"
#include "ThreadManager.hpp"
#include "Ioctls.hpp"
#include "IOManager.hpp"
2016-05-10 00:54:27 -04:00
#include "Debugger.hpp"
#include "Box.hpp"