Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
HdrSrc HdrSrc
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • RiscOS
    • SSources
  • Programmer
  • HdrSrcHdrSrc
  • Merge requests
  • !8

Open
Created Nov 06, 2019 by Timothy E Baldwin@tbaldwinDeveloper
  • Report abuse
Report abuse

WIP: Linux Port

  • Overview 0
  • Commits 5
  • Changes 7

These are the changes to HdrSrc for the Linux Port.

  • The Linux port runs as an ordinary Linux process entirely in user mode.
  • SWI calls are intercepted using seccomp or ptrace.
  • The macros pvMRS and psMSR emulate MRS and MSR instructions by calling the HAL, those HAL routines are linked in a similar way to the SharedCLibrary.
  • fvSWI and pvSWI are a performance optimisation, to avoid calling the Linux SWI handler on every SWI call.
  • I am considering moving the contents of PVOps into Generic32 and combining pvMRS and psMSR with mymrs and mymsr, with the names MyMRS and MyMSR.

See !7 (merged) for changes to mymrs and mymsr. Forum thread: https://www.riscosopen.org/forum/forums/3/topics/9068 Full port on github: https://github.com/TimothyEBaldwin/RISC_OS_Linux_Source/tree/Linux2-rebased

Edited Nov 06, 2019 by Timothy E Baldwin
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: HdrSrc-Linux