diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-11 18:49:56 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-13 17:16:03 +0100 |
commit | 8d956610f5e79bcc53a9f296ebecd53ee7c449ca (patch) | |
tree | fc39ac8c55fde2dcb06f2e4df1a6986acecd28ea /scripts/xml-preprocess.py | |
parent | fa3ca9aa1ceb9b762f4c7a51245226f247e35560 (diff) | |
download | qemu-8d956610f5e79bcc53a9f296ebecd53ee7c449ca.zip qemu-8d956610f5e79bcc53a9f296ebecd53ee7c449ca.tar.gz qemu-8d956610f5e79bcc53a9f296ebecd53ee7c449ca.tar.bz2 |
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 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions