/* * Copy data from IO memory space to "real" memory space.
*/ void memcpy_fromio(void *to, constvolatilevoid __iomem *from, unsignedlong count)
{ /* * Would it be worthwhile doing byte and long transfers first * to try and get aligned?
*/ #ifdef CONFIG_CPU_SH4 if ((count >= 0x20) &&
(((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) { int tmp2, tmp3, tmp4, tmp5, tmp6;
/* * "memset" on IO memory space. * This needs to be optimized.
*/ void memset_io(volatilevoid __iomem *dst, int c, unsignedlong count)
{ while (count) {
count--;
writeb(c, dst);
dst++;
}
}
EXPORT_SYMBOL(memset_io);
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
(vorverarbeitet am 2026-06-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.