Skip to content

Commit

Permalink
Update microkit signal variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
JE-Archer committed Dec 14, 2023
1 parent 70d42c3 commit aa9dfae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fs/nfs/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void tcp_maybe_notify(void) {
notify_rx = false;
if (!have_signal) {
microkit_notify_delayed(ETHERNET_RX_CHANNEL);
} else if (signal != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_RX_CHANNEL) {
} else if (signal_cap != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_RX_CHANNEL) {
microkit_notify(ETHERNET_RX_CHANNEL);
}
}
Expand All @@ -100,7 +100,7 @@ void tcp_maybe_notify(void) {
notify_tx = false;
if (!have_signal) {
microkit_notify_delayed(ETHERNET_TX_CHANNEL);
} else if (signal != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_TX_CHANNEL) {
} else if (signal_cap != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_TX_CHANNEL) {
microkit_notify(ETHERNET_TX_CHANNEL);
}
}
Expand Down Expand Up @@ -362,7 +362,7 @@ void tcp_init_0(void)
notify_rx = false;
if (!have_signal) {
microkit_notify_delayed(ETHERNET_RX_CHANNEL);
} else if (signal != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_RX_CHANNEL) {
} else if (signal_cap != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_RX_CHANNEL) {
microkit_notify(ETHERNET_RX_CHANNEL);
}
}
Expand All @@ -371,7 +371,7 @@ void tcp_init_0(void)
notify_tx = false;
if (!have_signal) {
microkit_notify_delayed(ETHERNET_TX_CHANNEL);
} else if (signal != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_TX_CHANNEL) {
} else if (signal_cap != BASE_OUTPUT_NOTIFICATION_CAP + ETHERNET_TX_CHANNEL) {
microkit_notify(ETHERNET_TX_CHANNEL);
}
}
Expand Down

0 comments on commit aa9dfae

Please sign in to comment.