Lines Matching refs:fdt_header
215 def fdthdr_to_cpu(self, fdt_header): argument
226 fdt_header['magic'],
227 fdt_header['totalsize'],
228 fdt_header['off_dt_struct'],
229 fdt_header['off_dt_strings'],
230 fdt_header['off_mem_rsvmap'],
231 fdt_header['version'],
232 fdt_header['last_comp_version']))
248 fdt_header = self.fdthdr_to_cpu(py_fdt_header)
250 if fdt_header[0] != constants.LX_OF_DT_HEADER:
253 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0]))
254 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1]))
255 gdb.write("off_dt_struct: 0x{:02X}\n".format(fdt_header[2]))
256 gdb.write("off_dt_strings: 0x{:02X}\n".format(fdt_header[3]))
257 gdb.write("off_mem_rsvmap: 0x{:02X}\n".format(fdt_header[4]))
258 gdb.write("version: {}\n".format(fdt_header[5]))
259 gdb.write("last_comp_version: {}\n".format(fdt_header[6]))
263 fdt_header[1]).tobytes()