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