File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818/*-------------------------------------------------------------
1919
20- Copyright (C) 2004 - 2025
20+ Copyright (C) 2004 - 2026
2121Michael Wiedenbauer (shagkur)
2222Dave Murphy (WinterMute)
2323Extrems' Corner.org
@@ -322,14 +322,17 @@ _cpu_context_switch:
322322 sync
323323 isync
324324
325+ li r0,GP_1
326+ stwcx. sp,r3,r0
327+
325328 stw sp,GP_1(r3)
326329 lwz sp,GP_1(r4)
327330 stw toc,GP_2(r3)
328331 lwz toc,GP_2(r4)
329332
330- stmw r13,GP_13(r3)
333+ stmw r13,GP_13(r3)
331334 lmw r13,GP_13(r4)
332-
335+
333336 mfgqr r5,0
334337 stw r5,GQ_0(r3)
335338 lwz r6,GQ_0(r4)
Original file line number Diff line number Diff line change 2525
2626/*-------------------------------------------------------------
2727
28- Copyright (C) 2004 - 2025
28+ Copyright (C) 2004 - 2026
2929Michael Wiedenbauer (shagkur)
3030Dave Murphy (WinterMute)
3131Extrems' Corner.org
You can’t perform that action at this time.
0 commit comments