forked from etc/pineapple-src
early-access version 2699
This commit is contained in:
parent
caa0c2911b
commit
74ca4905c2
8 changed files with 1 additions and 21 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 2698.
|
This is the source code for early-access 2699.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -174,9 +174,6 @@ public:
|
||||||
/// Clears the exclusive monitor's state.
|
/// Clears the exclusive monitor's state.
|
||||||
virtual void ClearExclusiveState() = 0;
|
virtual void ClearExclusiveState() = 0;
|
||||||
|
|
||||||
/// Prepare core for thread reschedule (if needed to correctly handle state)
|
|
||||||
virtual void PrepareReschedule() = 0;
|
|
||||||
|
|
||||||
/// Signal an interrupt and ask the core to halt as soon as possible.
|
/// Signal an interrupt and ask the core to halt as soon as possible.
|
||||||
virtual void SignalInterrupt() = 0;
|
virtual void SignalInterrupt() = 0;
|
||||||
|
|
||||||
|
|
|
@ -334,10 +334,6 @@ void ARM_Dynarmic_32::LoadContext(const ThreadContext32& ctx) {
|
||||||
jit.load()->LoadContext(context);
|
jit.load()->LoadContext(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ARM_Dynarmic_32::PrepareReschedule() {
|
|
||||||
jit.load()->HaltExecution(break_loop);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ARM_Dynarmic_32::SignalInterrupt() {
|
void ARM_Dynarmic_32::SignalInterrupt() {
|
||||||
jit.load()->HaltExecution(break_loop);
|
jit.load()->HaltExecution(break_loop);
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,6 @@ public:
|
||||||
void LoadContext(const ThreadContext32& ctx) override;
|
void LoadContext(const ThreadContext32& ctx) override;
|
||||||
void LoadContext(const ThreadContext64& ctx) override {}
|
void LoadContext(const ThreadContext64& ctx) override {}
|
||||||
|
|
||||||
void PrepareReschedule() override;
|
|
||||||
void SignalInterrupt() override;
|
void SignalInterrupt() override;
|
||||||
void ClearExclusiveState() override;
|
void ClearExclusiveState() override;
|
||||||
|
|
||||||
|
|
|
@ -402,10 +402,6 @@ void ARM_Dynarmic_64::LoadContext(const ThreadContext64& ctx) {
|
||||||
SetTPIDR_EL0(ctx.tpidr);
|
SetTPIDR_EL0(ctx.tpidr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ARM_Dynarmic_64::PrepareReschedule() {
|
|
||||||
jit.load()->HaltExecution(break_loop);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ARM_Dynarmic_64::SignalInterrupt() {
|
void ARM_Dynarmic_64::SignalInterrupt() {
|
||||||
jit.load()->HaltExecution(break_loop);
|
jit.load()->HaltExecution(break_loop);
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,6 @@ public:
|
||||||
void LoadContext(const ThreadContext32& ctx) override {}
|
void LoadContext(const ThreadContext32& ctx) override {}
|
||||||
void LoadContext(const ThreadContext64& ctx) override;
|
void LoadContext(const ThreadContext64& ctx) override;
|
||||||
|
|
||||||
void PrepareReschedule() override;
|
|
||||||
void SignalInterrupt() override;
|
void SignalInterrupt() override;
|
||||||
void ClearExclusiveState() override;
|
void ClearExclusiveState() override;
|
||||||
|
|
||||||
|
|
|
@ -505,10 +505,6 @@ bool System::IsPoweredOn() const {
|
||||||
return impl->is_powered_on.load(std::memory_order::relaxed);
|
return impl->is_powered_on.load(std::memory_order::relaxed);
|
||||||
}
|
}
|
||||||
|
|
||||||
void System::PrepareReschedule() {
|
|
||||||
// Deprecated, does nothing, kept for backward compatibility.
|
|
||||||
}
|
|
||||||
|
|
||||||
void System::PrepareReschedule(const u32 core_index) {
|
void System::PrepareReschedule(const u32 core_index) {
|
||||||
impl->kernel.PrepareReschedule(core_index);
|
impl->kernel.PrepareReschedule(core_index);
|
||||||
}
|
}
|
||||||
|
|
|
@ -193,9 +193,6 @@ public:
|
||||||
/// Gets a reference to the telemetry session for this emulation session.
|
/// Gets a reference to the telemetry session for this emulation session.
|
||||||
[[nodiscard]] const Core::TelemetrySession& TelemetrySession() const;
|
[[nodiscard]] const Core::TelemetrySession& TelemetrySession() const;
|
||||||
|
|
||||||
/// Prepare the core emulation for a reschedule
|
|
||||||
void PrepareReschedule();
|
|
||||||
|
|
||||||
/// Prepare the core emulation for a reschedule
|
/// Prepare the core emulation for a reschedule
|
||||||
void PrepareReschedule(u32 core_index);
|
void PrepareReschedule(u32 core_index);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue