Skip to content

GitLab

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

Open
Created Aug 30, 2020 by Timothy E Baldwin@tbaldwinDeveloper
  • Report abuse
Report abuse

Use Macros to disable and enable interrupts

  • Overview 3
  • Commits 3
  • Changes 8
  • Use SEI and CLI macros to set and clear interrupt status for optimal instruction choice and user mode compatibility (with different implementation of the macros, for Linux port or running on CPUs without privileged AArch32).
  • Remove unneeded restoring of interrupt state at the end of SWI routine as the SWI exit handler does so.
  • Remove unneeded preserving of CPU mode where existing mode known, or change of mode okay.
  • Optimise vectored SWIs and upcalls. (Is this actually faster?)
Edited Sep 21, 2020 by Timothy E Baldwin
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: Kernel-MacroInts