On 2026-10-03T20:07:54, Anirudh Srinivasan
<[email protected]> wrote:
> bios_emulator: support 16-bit reads on VGA port
>
> BE_inw currently doesn't handle 16-bit reads on VGA ports and falls back
> to LOG_inpw, which doesn't do anything on non x86 architectures that
> don't support I/O ports. Implement this 16-bit read as two 8-bit reads
> (similar to how BE_outw implements 16-bit writes).
>
> The Aspeed AST2600's VBIOS has these 16-bit read instructions in it, so
> this is needed to emulate that.
>
> Signed-off-by: Anirudh Srinivasan <[email protected]>
>
> drivers/bios_emulator/besys.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to