Skip to content

Commit

Permalink
fix: copy global variable to local
Browse files Browse the repository at this point in the history
Signed-off-by: isubasinghe <[email protected]>
  • Loading branch information
isubasinghe committed Jan 18, 2024
1 parent 622a6f1 commit 7a33afd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monitor/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ static void monitor(void)
seL4_Error err;

tag = seL4_Recv(fault_ep, &gbadge, reply);
badge = gbadge;

label = seL4_MessageInfo_get_label(tag);

seL4_Word tcb_cap = tcbs[badge];
Expand Down

0 comments on commit 7a33afd

Please sign in to comment.