Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move some cortex-m specific code to arch/ #962

Merged
merged 3 commits into from May 26, 2018

Conversation

@bradjc
Copy link
Contributor

commented May 26, 2018

Pull Request Overview

This pull request moves the ipsr_isr_number_to_str() function out of process.rs and into arch.

It also moves the kernel::support::arm modules to arch/cortex-m.

Testing Strategy

This pull request was tested by make allboards.

TODO or Help Wanted

n/a

Documentation Updated

  • Kernel: Updated the relevant files in /docs, or no updates are required.
  • Userland: Added/updated the application README, if needed.

Formatting

  • Ran make formatall.
@bradjc bradjc referenced this pull request May 26, 2018
3 of 3 tasks complete

bradjc added some commits May 26, 2018

kernel: move m4 interrupt string map to arch
The `ipsr_isr_number_to_str()` function maps interrupts to string names,
but is architecture specific so it shouldn't be in process.rs.
kernel: move arm support functions to arch
kernel::support::arm has moved to arch/cortex-m because the kernel
should be architecture agnostic.

@alevy alevy force-pushed the kernel-no-swiping branch from d680e4d to e80c210 May 26, 2018

@ppannuto ppannuto force-pushed the kernel-no-swiping branch from 47e96c2 to e391038 May 26, 2018

@ppannuto ppannuto force-pushed the kernel-no-swiping branch from e391038 to de9cbcf May 26, 2018

@ppannuto
Copy link
Member

left a comment

This is a record number of Cargo.lock's

@bradjc bradjc added the P-Upkeep label May 26, 2018

@bradjc bradjc merged commit 33bbc3a into master May 26, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details

@bradjc bradjc deleted the kernel-no-swiping branch May 26, 2018

@bradjc bradjc referenced this pull request Jun 12, 2018
9 of 9 tasks complete
@bradjc bradjc referenced this pull request Jun 30, 2018
2 of 2 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.