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

Add send_hardware_nmi to Grapefruit #1987

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

mkeeter
Copy link
Collaborator

@mkeeter mkeeter commented Jan 21, 2025

This is another small improvement for #1983

It needs testing on actual hardware!

@mkeeter mkeeter requested a review from citrus-it January 21, 2025 20:08
@citrus-it
Copy link
Contributor

standish% h hiffy -c Sequencer.send_hardware_nmi
humility: attached to 0483:3754:0040003A3431511837393330 via ST-Link V3
Sequencer.send_hardware_nmi() => Err(<server died; its new ID is 0>)

ID TASK                       GEN PRI STATE
12 grapefruit_seq               0   4 FAULT: mem fault (precise: 0x60000308) in task code (was: ready)

See /staff/andy/hubris.core.grapefruit_seq.0

@citrus-it
Copy link
Contributor

Tested on sapphire:

standish% h hiffy -c Sequencer.send_hardware_nmi
humility: attached to 0483:3754:0040003A3431511837393330 via ST-Link V3
Sequencer.send_hardware_nmi() => ()

Meanwhile, back at the ranch:

teapot console login:

NMI received: entering kmdb


Welcome to kmdb
Loaded modules: [ ipcc unix krtld apix genunix specfs mm ]
[0]>

@mkeeter mkeeter merged commit d6ae06c into master Jan 22, 2025
125 checks passed
@mkeeter mkeeter deleted the mkeeter/grapefruit-hardware-nmi branch January 22, 2025 14:36
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.

2 participants