summary refs log tree commit diff stats
path: root/rust/qemu-api-macros
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-11 18:49:56 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-13 17:16:03 +0100
commit8d956610f5e79bcc53a9f296ebecd53ee7c449ca (patch)
treefc39ac8c55fde2dcb06f2e4df1a6986acecd28ea /rust/qemu-api-macros
parentfa3ca9aa1ceb9b762f4c7a51245226f247e35560 (diff)
downloadfocaccia-qemu-8d956610f5e79bcc53a9f296ebecd53ee7c449ca.tar.gz
focaccia-qemu-8d956610f5e79bcc53a9f296ebecd53ee7c449ca.zip
hw/net/xilinx_ethlite: Introduce txbuf_ptr() helper
For a particular physical address within the EthLite MMIO range,
addr_to_port_index() returns which port is accessed.

txbuf_ptr() points to the beginning of a (RAM) TX buffer
within the device state.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-Id: <20241112181044.92193-10-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions