Skip to content

Fix shapeshifer - #161

Open
Kamelitoloveless wants to merge 5 commits into
ApolloTeam-dev:masterfrom
Kamelitoloveless:fix-shapeshifer
Open

Kamelitoloveless wants to merge 5 commits into
ApolloTeam-dev:masterfrom
Kamelitoloveless:fix-shapeshifer

Conversation

@Kamelitoloveless

Copy link
Copy Markdown
Contributor

ShapeShifter patch using two undocumted Exec functions.
One is not implemented in Aros / ApolloOS which is :
ExitIntr found in rom/exec/exitintr.c
This PR has been created to include the changes done by Aros dev Kalamatee which I reported in the issue below.

aros-development-team/AROS#1460

KamelitoLoveless added 5 commits October 10, 2026 16:55
…ooks

Programs that SetFunction() ExitIntr() and Schedule(), or replace
ex_LaunchPoint, were never called on m68k (issue #1460).

- SFF_SoftInt, SFF_QuantumOver and the pending-switch flag (now
  SFF_AttnSwitch, replacing ARF_AttnSwitch in AttnResched) are SysFlags
  bits 13, 14 and 15 on every target, as on Kickstart. Cause() updates
  SysFlags atomically unless AROS_NO_ATOMIC_OPERATIONS is set.
- m68k interrupt handlers leave through the ExitIntr() vector with
  SysBase pushed, as Kickstart's level handlers do, and ExitIntr() pops
  it.
- m68k Schedule() decides with interrupts masked, as on Kickstart, so
  the scheduler's non-atomic flag updates cannot lose a bit.
- m68k Dispatch() enters the task through ex_LaunchPoint, publishing
  its own launch code there on first use.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant