mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
MacOs/Arm64: Fix warning
This commit is contained in:
parent
340c17f422
commit
4c3d243672
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
namespace aarch64
|
namespace aarch64
|
||||||
{
|
{
|
||||||
constexpr u32 ESR_CTX_MAGIC = 0x45535201;
|
|
||||||
|
|
||||||
// Some of the EC codes we care about
|
// Some of the EC codes we care about
|
||||||
enum class EL1_exception_class
|
enum class EL1_exception_class
|
||||||
{
|
{
|
||||||
|
@ -23,6 +21,8 @@ namespace aarch64
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
constexpr u32 ESR_CTX_MAGIC = 0x45535201;
|
||||||
|
|
||||||
const aarch64_esr_ctx* find_EL1_esr_context(const ucontext_t* ctx)
|
const aarch64_esr_ctx* find_EL1_esr_context(const ucontext_t* ctx)
|
||||||
{
|
{
|
||||||
u32 offset = 0;
|
u32 offset = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue