Statistics
| Branch: | Revision:

root / hw / cadence_gem.c @ 3871481c

History | View | Annotate | Download (39.5 kB)

# Date Author Comment
8279e042 07/04/2012 01:50 pm Peter Maydell

hw/cadence_gem: Make rx_desc_addr and tx_desc_addr uint32_t

Make the state fields rx_desc_addr and tx_desc_addr uint32_t;
this matches the VMStateDescription, and also conforms to how
hardware works: the registers don't magically become larger
if the device is attached to a CPU with a larger physical...

5fbe02e8 06/19/2012 04:24 pm Jim Meyering

cadence_gem: avoid stack-writing buffer-overrun

Use sizeof(rxbuf)-size (not sizeof(rxbuf-size)) as the number
of bytes to clear. The latter would always clear 4 or 8
bytes, possibly writing beyond the end of that stack buffer.
Alternatively, depending on the value of the "size" parameter,...

e9f186e5 03/07/2012 03:20 am Peter A. G. Crosthwaite

cadence_gem: initial version of device model

Device model for cadence gem ethernet controller.

Signed-off-by: Peter A. G. Crosthwaite <>
Signed-off-by: John Linn <>
Acked-by: Edgar E. Iglesias <>...