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

Refactor/add hal as datastructure #148

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

n1tram1
Copy link
Collaborator

@n1tram1 n1tram1 commented Jul 29, 2024

No description provided.

@n1tram1 n1tram1 force-pushed the refactor/add-hal-as-datastructure branch from d91ff9d to 3388641 Compare July 29, 2024 17:05
log::debug!("aarch64_common_trap(0x{:x})", offset);

let int_type = match offset {
0x000..=0x07f => InterruptType::SyncCurrentElSp0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that since Rustc 1.80 we can use exclusive range in patterns, so if it is easier this can be written as

Suggested change
0x000..=0x07f => InterruptType::SyncCurrentElSp0,
0x000..0x080 => InterruptType::SyncCurrentElSp0,

don't know if the spec uses exclusive limits or not so feel free to ignore

@n1tram1 n1tram1 force-pushed the refactor/add-hal-as-datastructure branch 2 times, most recently from 5616c9b to bd7612f Compare October 2, 2024 21:23
@Skallwar Skallwar force-pushed the refactor/add-hal-as-datastructure branch 3 times, most recently from 77a70e7 to 120894e Compare October 10, 2024 07:45
Fixes: error[E0787]: the `asm!` macro is not allowed in naked functions

Signed-off-by: Esteban Blanc <[email protected]>
@Skallwar Skallwar force-pushed the refactor/add-hal-as-datastructure branch from 120894e to 012f9aa Compare October 10, 2024 14:51
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.

3 participants