Moving cpu/runtime/ to cpu/.
This commit is contained in:
@@ -194,8 +194,8 @@ X_STATUS XThread::Create() {
|
||||
// Allocate processor thread state.
|
||||
// This is thread safe.
|
||||
thread_state_ =
|
||||
new XenonThreadState(kernel_state()->processor()->runtime(), thread_id_,
|
||||
creation_params_.stack_size, thread_state_address_);
|
||||
new ThreadState(kernel_state()->processor()->runtime(), thread_id_, 0,
|
||||
creation_params_.stack_size, thread_state_address_);
|
||||
|
||||
X_STATUS return_code = PlatformCreate();
|
||||
if (XFAILED(return_code)) {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
|
||||
#include "xenia/cpu/xenon_thread_state.h"
|
||||
#include "xenia/cpu/thread_state.h"
|
||||
#include "xenia/kernel/xobject.h"
|
||||
#include "xenia/xbox.h"
|
||||
|
||||
@@ -89,7 +89,7 @@ class XThread : public XObject {
|
||||
uint32_t scratch_size_;
|
||||
uint32_t tls_address_;
|
||||
uint32_t thread_state_address_;
|
||||
cpu::XenonThreadState* thread_state_;
|
||||
cpu::ThreadState* thread_state_;
|
||||
|
||||
std::string name_;
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ X_STATUS XUserModule::LoadFromFile(const char* path) {
|
||||
|
||||
X_STATUS XUserModule::LoadFromMemory(const void* addr, const size_t length) {
|
||||
Processor* processor = kernel_state()->processor();
|
||||
XenonRuntime* runtime = processor->runtime();
|
||||
Runtime* runtime = processor->runtime();
|
||||
|
||||
// Load the XEX into memory and decrypt.
|
||||
xe_xex2_options_t xex_options = {0};
|
||||
|
||||
Reference in New Issue
Block a user