#define boot_rb_foreach(cb) \ do { \
size_t off = boot_rb_off + strlen(boot_rb + boot_rb_off) + 1; \
size_t len; \ for (; off < sizeof(boot_rb) && (len = strlen(boot_rb + off)); off += len + 1) \
cb(boot_rb + off); \ for (off = 0; off < boot_rb_off && (len = strlen(boot_rb + off)); off += len + 1) \
cb(boot_rb + off); \
} while (0)
/* * bootdebug_filter is a comma separated list of strings, * where each string can be a prefix of the message.
*/ staticinlinebool bootdebug_filter_match(constchar *buf)
{ char *p = bootdebug_filter, *s; char *end;
if (!*p) returntrue;
end = p + strlen(p); while (p < end) {
p = skip_spaces(p);
s = memscan(p, ',', end - p); if (!strncmp(p, buf, s - p)) returntrue;
p = s + 1;
} returnfalse;
}
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.