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