Module Name: src Committed By: christos Date: Tue Jul 26 03:09:55 UTC 2016
Modified Files: src/sys/arch/alpha/tc: tc_bus_mem.c Log Message: >From Felix Deichmann: While writing "slhci at tc" support, I noticed TC bus_space functions for alpha don't work as they should (tc_bus_mem.c). Consideration of dense vs. sparse space seems problematic, especially for widths < 4. I found information mainly in [1] https://web-docs.gsi.de/~kraemer/COLLECTION/DEC/d3syspmb.pdf [2] http://h20565.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c04623255 and a dirty (but tested) hack based on this is attached as an example. It would be great if someone could have a look and do a cleaner version preferably. Especially the end of ([2] section 12.2.2) provides a summary of which "instruction" to use for which data width in which space, and possible side effects (unintentional double reads/writes) in dense space... To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/alpha/tc/tc_bus_mem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.