21 "log_fields_t must always be 20 bytes.");
28 case kLogSeverityInfo:
30 case kLogSeverityWarn:
32 case kLogSeverityError:
34 case kLogSeverityFatal:
48 size_t file_name_len =
52 if (base_name == NULL) {
61 static uint16_t global_log_counter = 0;
64 global_log_counter, base_name, log->
line);
87 mmio_region_write32(log_device, 0x0, (uintptr_t)log);
90 va_start(args, nargs);
91 for (
int i = 0; i < nargs; ++i) {
92 mmio_region_write32(log_device, 0x0, va_arg(args, uint32_t));