Skip to content

Commit

Permalink
Improve printing for demoing
Browse files Browse the repository at this point in the history
  • Loading branch information
Furao committed Dec 17, 2024
1 parent cd3759a commit df9d027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub extern "C" fn seL4_LowLevelEthernetDriver_LowLevelEthernetDriver_timeTrigger
let size = sz_pkt.size as usize;
if size > 0 {
// warn!("TX Packet: {:0>2X?}", &sz_pkt.message[0..size]);
warn!("TX Packet");
debug!("TX Packet");
if let Some(tx_tok) = state.drv.transmit(Instant::ZERO) {
trace!("Valid tx token");
tx_tok.consume(size, |tx_buf| {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void seL4_ArduPilot_ArduPilot_irqHandler(microkit_channel ch) {
static uint8_t tx_idx = 0;

void vmm_virtio_net_tx(void *tx_buf) {
LOG_VMM("Sending TX Message from guest\n");
// LOG_VMM("Sending TX Message from guest\n");
switch (tx_idx) {
case 0:
put_EthernetFramesTx0((base_SW_RawEthernetMessage_Impl *)tx_buf);
Expand Down

0 comments on commit df9d027

Please sign in to comment.