Removing cpu.h.

Part of #296.
This commit is contained in:
Ben Vanik 2015-06-27 08:58:45 -07:00
parent 12120262b8
commit 3439641101
10 changed files with 10 additions and 35 deletions

View File

@ -7,8 +7,8 @@
****************************************************************************** ******************************************************************************
*/ */
#ifndef XENIA_CPU_PRIVATE_H_ #ifndef XENIA_CPU_CPU_PRIVATE_H_
#define XENIA_CPU_PRIVATE_H_ #define XENIA_CPU_CPU_PRIVATE_H_
#include <gflags/gflags.h> #include <gflags/gflags.h>
@ -33,4 +33,4 @@ DECLARE_bool(break_condition_truncate);
DECLARE_bool(break_on_debugbreak); DECLARE_bool(break_on_debugbreak);
#endif // XENIA_CPU_PRIVATE_H_ #endif // XENIA_CPU_CPU_PRIVATE_H_

View File

@ -1,20 +0,0 @@
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_CPU_CPU_H_
#define XENIA_CPU_CPU_H_
#include "xenia/cpu/processor.h"
#include "xenia/cpu/function.h"
#include "xenia/cpu/module.h"
#include "xenia/cpu/processor.h"
#include "xenia/cpu/thread_state.h"
#include "xenia/cpu/xex_module.h"
#endif // XENIA_CPU_CPU_H_

View File

@ -10,10 +10,10 @@
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/main.h" #include "xenia/base/main.h"
#include "xenia/base/math.h" #include "xenia/base/math.h"
#include "xenia/cpu/cpu.h"
#include "xenia/cpu/backend/x64/x64_backend.h" #include "xenia/cpu/backend/x64/x64_backend.h"
#include "xenia/cpu/frontend/ppc_context.h" #include "xenia/cpu/frontend/ppc_context.h"
#include "xenia/cpu/frontend/ppc_frontend.h" #include "xenia/cpu/frontend/ppc_frontend.h"
#include "xenia/cpu/processor.h"
#include "xenia/cpu/raw_module.h" #include "xenia/cpu/raw_module.h"
#if !XE_PLATFORM_WIN32 #if !XE_PLATFORM_WIN32
@ -31,7 +31,6 @@ namespace cpu {
namespace test { namespace test {
using xe::cpu::frontend::PPCContext; using xe::cpu::frontend::PPCContext;
using xe::cpu::Runtime;
typedef std::vector<std::pair<std::string, std::string>> AnnotationList; typedef std::vector<std::pair<std::string, std::string>> AnnotationList;

View File

@ -12,10 +12,10 @@
#include "xenia/base/main.h" #include "xenia/base/main.h"
#include "xenia/cpu/backend/x64/x64_backend.h" #include "xenia/cpu/backend/x64/x64_backend.h"
#include "xenia/cpu/cpu.h"
#include "xenia/cpu/frontend/ppc_context.h" #include "xenia/cpu/frontend/ppc_context.h"
#include "xenia/cpu/frontend/ppc_frontend.h" #include "xenia/cpu/frontend/ppc_frontend.h"
#include "xenia/cpu/hir/hir_builder.h" #include "xenia/cpu/hir/hir_builder.h"
#include "xenia/cpu/processor.h"
#include "xenia/cpu/test_module.h" #include "xenia/cpu/test_module.h"
#include "third_party/catch/single_include/catch.hpp" #include "third_party/catch/single_include/catch.hpp"
@ -27,7 +27,6 @@ namespace cpu {
namespace test { namespace test {
using xe::cpu::frontend::PPCContext; using xe::cpu::frontend::PPCContext;
using xe::cpu::Runtime;
class TestFunction { class TestFunction {
public: public:

View File

@ -19,7 +19,6 @@ namespace cpu {
namespace test { namespace test {
using xe::cpu::frontend::PPCContext; using xe::cpu::frontend::PPCContext;
using xe::cpu::Runtime;
int main(std::vector<std::wstring>& args) { int main(std::vector<std::wstring>& args) {
std::vector<std::string> narrow_args; std::vector<std::string> narrow_args;

View File

@ -15,7 +15,6 @@
#include "xenia/base/assert.h" #include "xenia/base/assert.h"
#include "xenia/base/clock.h" #include "xenia/base/clock.h"
#include "xenia/base/string.h" #include "xenia/base/string.h"
#include "xenia/cpu/cpu.h"
#include "xenia/gpu/gpu.h" #include "xenia/gpu/gpu.h"
#include "xenia/hid/hid.h" #include "xenia/hid/hid.h"
#include "xenia/kernel/kernel.h" #include "xenia/kernel/kernel.h"

View File

@ -10,7 +10,6 @@
#include "xenia/kernel/objects/xkernel_module.h" #include "xenia/kernel/objects/xkernel_module.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/cpu/cpu.h"
#include "xenia/emulator.h" #include "xenia/emulator.h"
#include "xenia/kernel/objects/xthread.h" #include "xenia/kernel/objects/xthread.h"

View File

@ -9,16 +9,16 @@
#include "xenia/kernel/objects/xthread.h" #include "xenia/kernel/objects/xthread.h"
#include <cstring>
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include <cstring>
#include "xenia/base/clock.h" #include "xenia/base/clock.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/math.h" #include "xenia/base/math.h"
#include "xenia/base/mutex.h" #include "xenia/base/mutex.h"
#include "xenia/base/threading.h" #include "xenia/base/threading.h"
#include "xenia/cpu/cpu.h" #include "xenia/cpu/processor.h"
#include "xenia/kernel/kernel_state.h" #include "xenia/kernel/kernel_state.h"
#include "xenia/kernel/native_list.h" #include "xenia/kernel/native_list.h"
#include "xenia/kernel/objects/xevent.h" #include "xenia/kernel/objects/xevent.h"

View File

@ -10,7 +10,8 @@
#include "xenia/kernel/objects/xuser_module.h" #include "xenia/kernel/objects/xuser_module.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/cpu/cpu.h" #include "xenia/cpu/processor.h"
#include "xenia/cpu/xex_module.h"
#include "xenia/emulator.h" #include "xenia/emulator.h"
#include "xenia/kernel/objects/xfile.h" #include "xenia/kernel/objects/xfile.h"
#include "xenia/kernel/objects/xthread.h" #include "xenia/kernel/objects/xthread.h"

View File

@ -8,7 +8,6 @@
*/ */
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/cpu/cpu.h"
#include "xenia/emulator.h" #include "xenia/emulator.h"
#include "xenia/gpu/graphics_system.h" #include "xenia/gpu/graphics_system.h"
#include "xenia/gpu/xenos.h" #include "xenia/gpu/xenos.h"