summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-19 21:02:58 -0400
committerstefan <stefan@s00.xyz>2023-04-19 21:02:58 -0400
commit821706a3fea34c18a6171cf5169d5d6d852966de (patch)
treeeee908df401a7bab1ecf1cb60cab31a15c0e3c8b /sys/dev
parent83e17e29456ec9b6d45f4d9f2634eb280c6f414f (diff)
downloadsv-821706a3fea34c18a6171cf5169d5d6d852966de.tar.gz
normalized tab expansion
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdt/fdt.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/fdt/fdt.c b/sys/dev/fdt/fdt.c
index 0bd0a52..9a8f1af 100644
--- a/sys/dev/fdt/fdt.c
+++ b/sys/dev/fdt/fdt.c
@@ -7,18 +7,18 @@ void
fdt_walk(struct fdt_header *header)
{
if (fdt_uint32(header->magic) != FDT_HEADER_MAGIC) {
- printf("corrupted or invalid fdt");
- }
- printf("parsing fdt @%p...\n", header);
- printf("header->totalsize: %d\n", fdt_uint32(header->totalsize));
- printf("header->off_dt_struct: %d\n", fdt_uint32(header->off_dt_struct));
- printf("header->off_dt_strings: %d\n", fdt_uint32(header->off_dt_strings));
- printf("header->off_mem_rsvmap: %d\n", fdt_uint32(header->off_mem_rsvmap));
- printf("header->version: %d\n", fdt_uint32(header->version));
- printf("header->last_comp_version: %d\n", fdt_uint32(header->last_comp_version));
- printf("header->boot_cpuid_phys: %d\n", fdt_uint32(header->boot_cpuid_phys));
- printf("header->size_dt_strings: %d\n", fdt_uint32(header->size_dt_strings));
- printf("header->size_dt_struct: %d\n", fdt_uint32(header->size_dt_struct));
+ printf("corrupted or invalid fdt");
+ }
+ printf("parsing fdt @%p...\n", header);
+ printf("header->totalsize: %d\n", fdt_uint32(header->totalsize));
+ printf("header->off_dt_struct: %d\n", fdt_uint32(header->off_dt_struct));
+ printf("header->off_dt_strings: %d\n", fdt_uint32(header->off_dt_strings));
+ printf("header->off_mem_rsvmap: %d\n", fdt_uint32(header->off_mem_rsvmap));
+ printf("header->version: %d\n", fdt_uint32(header->version));
+ printf("header->last_comp_version: %d\n", fdt_uint32(header->last_comp_version));
+ printf("header->boot_cpuid_phys: %d\n", fdt_uint32(header->boot_cpuid_phys));
+ printf("header->size_dt_strings: %d\n", fdt_uint32(header->size_dt_strings));
+ printf("header->size_dt_struct: %d\n", fdt_uint32(header->size_dt_struct));
printf("walking the memory reservation block...\n");
struct fdt_reserve_entry *p = header + fdt_uint32(header->off_mem_rsvmap);