Searched refs:fdt_header (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/libfdt/
H A Dfdt.h42 struct fdt_header { struct
H A Dlibfdt.h128 (fdt32_to_cpu(((const struct fdt_header *)(fdt))->field))
143 struct fdt_header *fdth = (struct fdt_header*)fdt; \
H A Dfdt_sw.c71 if (bufsize < sizeof(struct fdt_header))
81 fdt_set_off_mem_rsvmap(fdt, FDT_ALIGN(sizeof(struct fdt_header),
H A Dfdt_rw.c40 return (fdt_off_mem_rsvmap(fdt) < FDT_ALIGN(sizeof(struct fdt_header), 8))
378 mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8);
431 newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size
/gem5/src/python/m5/ext/pyfdt/
H A Dpyfdt.py939 self.infile.seek(self.fdt_header['off_mem_rsvmap'])
966 self.infile.seek(self.fdt_header['off_dt_strings']+prop_string_pos)
983 if self.fdt_header['version'] < 16 and prop_size >= 8:
999 self.infile.seek(self.fdt_header['off_dt_struct'])
1026 self.fdt_header = self.__extract_fdt_header()
1027 if self.fdt_header['magic'] != FDT_MAGIC:
1029 if self.fdt_header['version'] > FDT_MAX_VERSION:
1030 raise Exception('Invalid Version %d' % self.fdt_header['version'])
1031 if self.fdt_header['last_comp_version'] > FDT_MAX_VERSION-1:
1033 self.fdt_header['last_comp_versio
[all...]

Completed in 16 milliseconds