Skip to content

Commit

Permalink
add serial port as cmdline argument
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Rodríguez <[email protected]>
  • Loading branch information
malejo97 committed Nov 2, 2023
1 parent 2c98ccf commit 708e9b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ build/
__pycache__/
images/
*.ui
*.qrc
*.qrc
run_demo.sh
2 changes: 1 addition & 1 deletion bao-baremetal-guest/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void state_before_attack(void)
if (sw_status & (1ULL << sw_idx))
{
lock = 1;
printf("$GOTO$_5%.3d\n",sw_idx);
printf("$GOTO$_6%.3d\n$GOTO$_5%.3d\n",sw_status, sw_idx);
lock = 0;
set_iommu_mode(IOMMU_DDTP_MODE_BARE);
}
Expand Down

0 comments on commit 708e9b8

Please sign in to comment.