diff options
author | adrian <adrian@FreeBSD.org> | 2012-08-19 02:22:16 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-08-19 02:22:16 +0000 |
commit | a561db427c77bbb77cd6416055a3d351f21460ed (patch) | |
tree | e4204b59349655a7285c687fb402838983e25f54 /contrib/libc++/src/random.cpp | |
parent | 5ab9e66230765126176960b49c6b6480f976ef43 (diff) | |
download | FreeBSD-src-a561db427c77bbb77cd6416055a3d351f21460ed.zip FreeBSD-src-a561db427c77bbb77cd6416055a3d351f21460ed.tar.gz |
Extend the TX descriptor debug printing to be properly aware of
EDMA code.
* create a new TX EDMA descriptor struct to represent TX EDMA descriptors
when doing debugging;
* implement an EDMA printing function which:
+ hardcodes the TX map size to 4 for now;
+ correctly prints out the number of segments - there's one descriptor
for up to 4 buffers (segments), not one for each segment;
+ print out 4 DS buffer and len pointers;
+ print out the correct number of DWORDs in the TX descriptor.
TODO:
* Remove all of the hard-coded stuff. Ew.
Diffstat (limited to 'contrib/libc++/src/random.cpp')
0 files changed, 0 insertions, 0 deletions