(for now) Stub X64Context out on non-AMD64 platforms
This commit is contained in:
parent
bb3291e331
commit
dbc2d233fb
|
@ -10,15 +10,21 @@
|
||||||
#ifndef XENIA_BASE_X64_CONTEXT_H_
|
#ifndef XENIA_BASE_X64_CONTEXT_H_
|
||||||
#define XENIA_BASE_X64_CONTEXT_H_
|
#define XENIA_BASE_X64_CONTEXT_H_
|
||||||
|
|
||||||
#include <xmmintrin.h>
|
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "xenia/base/platform.h"
|
||||||
#include "xenia/base/vec128.h"
|
#include "xenia/base/vec128.h"
|
||||||
|
|
||||||
|
#if XE_ARCH_AMD64
|
||||||
|
#include <xmmintrin.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
|
|
||||||
|
class X64Context;
|
||||||
|
|
||||||
|
#if XE_ARCH_AMD64
|
||||||
enum class X64Register {
|
enum class X64Register {
|
||||||
// NOTE: this order matches 1:1 with the order in the X64Context.
|
// NOTE: this order matches 1:1 with the order in the X64Context.
|
||||||
// NOTE: this order matches 1:1 with a string table in the x64_context.cc.
|
// NOTE: this order matches 1:1 with a string table in the x64_context.cc.
|
||||||
|
@ -110,6 +116,7 @@ class X64Context {
|
||||||
std::string GetStringFromValue(X64Register reg, bool hex) const;
|
std::string GetStringFromValue(X64Register reg, bool hex) const;
|
||||||
void SetValueFromString(X64Register reg, std::string value, bool hex);
|
void SetValueFromString(X64Register reg, std::string value, bool hex);
|
||||||
};
|
};
|
||||||
|
#endif // XE_ARCH_AMD64
|
||||||
|
|
||||||
} // namespace xe
|
} // namespace xe
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue