Renaming xe::cpu::frontend to xe::cpu::ppc.

This commit is contained in:
Ben Vanik
2015-12-14 21:17:55 -08:00
parent 9273359cdd
commit 15816327b4
225 changed files with 196 additions and 204 deletions

View File

@@ -23,8 +23,6 @@
namespace xe {
namespace cpu {
using PPCContext = xe::cpu::frontend::PPCContext;
thread_local ThreadState* thread_state_ = nullptr;
ThreadState::ThreadState(Processor* processor, uint32_t thread_id,
@@ -85,9 +83,9 @@ ThreadState::ThreadState(Processor* processor, uint32_t thread_id,
assert_not_zero(stack_address_);
// Allocate with 64b alignment.
context_ = memory::AlignedAlloc<PPCContext>(64);
context_ = memory::AlignedAlloc<ppc::PPCContext>(64);
assert_true(((uint64_t)context_ & 0x3F) == 0);
std::memset(context_, 0, sizeof(PPCContext));
std::memset(context_, 0, sizeof(ppc::PPCContext));
// Stash pointers to common structures that callbacks may need.
context_->global_mutex = &xe::global_critical_region::mutex();