Lines Matching refs:fp
261 def __write_isr_handlers(self, fp): argument
264 fp.write(self.__isr_spurious_entry(i) + '\n')
267 fp.write(self.__isr_shared_entry(i) + '\n')
269 fp.write('/* ISR: {} implemented in app in "{}" section. */\n'.format(
272 def __write_irq_handlers(self, fp): argument
275 fp.write(self.__irq_spurious_entry(i) + '\n')
277 fp.write('/* ISR: {} implemented in app. */\n'.format(i))
279 def __write_shared_handlers(self, fp): argument
280 fp.write("extern struct z_shared_isr_table_entry "
289 fp.write('static Z_DECL_ALIGN(struct _isr_table_entry)\n' +
298 fp.write('/* Shared isr {} entry {} implemented in "{}" section*/\n'.format(
302 fp.write(('static size_t Z_GENERIC_SECTION({}) __used\n' +
309 def write_source(self, fp): argument
310 fp.write(self.source_header)
313 self.__write_irq_handlers(fp)
319 self.__write_shared_handlers(fp)
321 self.__write_isr_handlers(fp)
323 def __write_linker_irq(self, fp): argument
324 fp.write('{} = .;\n'.format(self.__config.irq_vector_array_name))
330 fp.write('KEEP(*("{}"))\n'.format(sname))
332 def __write_linker_shared(self, fp): argument
333 fp.write(". = ALIGN({});\n".format(self.__shared_isr_table_entry_size))
334 fp.write('{} = .;\n'.format(self.__config.shared_array_name))
345 fp.write('KEEP(*("{}"))\n'.format(self.__shared_entry_section(i, j)))
349 fp.write('/* Repetition of "{}" section */\n'.format(sname))
351 fp.write('KEEP(*("{}"))\n'.format(sname))
352 fp.write('. = . + {};\n'.format(client_num_pads))
353 fp.write('KEEP(*("{}"))\n'.format(self.__shared_client_num_section(i)))
354 fp.write(". = ALIGN({});\n".format(self.__shared_isr_table_entry_size))
356 def __write_linker_isr(self, fp): argument
357 fp.write(". = ALIGN({});\n".format(self.__swi_table_entry_size))
358 fp.write('{} = .;\n'.format(self.__config.sw_isr_array_name))
364 fp.write('KEEP(*("{}"))\n'.format(sname))
366 def write_linker_vt(self, fp): argument
368 self.__write_linker_irq(fp)
370 def write_linker_swi(self, fp): argument
372 self.__write_linker_isr(fp)
375 self.__write_linker_shared(fp)