Skip to content

Commit

Permalink
fix bx_banshee_c::mem_read unknown access length warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Shwartsman committed Dec 16, 2023
1 parent e67fb33 commit 0fbf559
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bochs/iodev/display/banshee.cc
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,10 @@ void bx_banshee_c::mem_read(bx_phy_address addr, unsigned len, void *data)
break;
case 4:
*((Bit32u*)data) = (Bit32u)value;
break;
case 8:
*((Bit64u*)data) = (Bit64u)value;
break;
default:
BX_ERROR(("bx_banshee_c::mem_read unsupported length %d", len));
}
Expand Down

0 comments on commit 0fbf559

Please sign in to comment.