Home
last modified time | relevance | path

Searched refs:nr_bytes (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/external/gpl3/gdb/dist/sim/ppc/
H A Dcorefile.c36 unsigned nr_bytes; member
137 unsigned nr_bytes, in new_core_mapping() argument
147 new_mapping->nr_bytes = nr_bytes; in new_core_mapping()
148 new_mapping->bound = addr + (nr_bytes - 1); in new_core_mapping()
170 unsigned nr_bytes, /* host limited */ in core_map_attach() argument
180 if (nr_bytes == 0) { in core_map_attach()
201 && next_mapping->base < (addr + (nr_bytes - 1))) { in core_map_attach()
203 space, (long)addr, (long)nr_bytes); in core_map_attach()
208 space, addr, nr_bytes, in core_map_attach()
221 unsigned nr_bytes, /* host limited */ in core_attach() argument
[all …]
H A Dhw_vm.c109 unsigned nr_bytes, in hw_vm_attach_address() argument
115 if (vm->heap_base < addr + nr_bytes) { in hw_vm_attach_address()
116 vm->heap_base = addr + nr_bytes; in hw_vm_attach_address()
117 vm->heap_bound = addr + nr_bytes; in hw_vm_attach_address()
118 vm->heap_upper_limit = addr + nr_bytes; in hw_vm_attach_address()
124 nr_bytes, in hw_vm_attach_address()
133 unsigned nr_bytes, in hw_vm_add_space() argument
181 unsigned nr_bytes, in hw_vm_io_read_buffer_callback() argument
185 if (hw_vm_add_space(me, addr, nr_bytes, processor, cia) >= nr_bytes) { in hw_vm_io_read_buffer_callback()
186 memset(dest, 0, nr_bytes); /* always initialized to zero */ in hw_vm_io_read_buffer_callback()
[all …]
H A Dhw_core.c64 unsigned nr_bytes, in hw_core_attach_address_callback() argument
76 nr_bytes, in hw_core_attach_address_callback()
86 unsigned nr_bytes) in hw_core_dma_read_buffer_callback() argument
92 nr_bytes); in hw_core_dma_read_buffer_callback()
101 unsigned nr_bytes, in hw_core_dma_write_buffer_callback() argument
111 nr_bytes); in hw_core_dma_write_buffer_callback()
H A Dhw_ide.c309 int nr_bytes) in do_fifo_read() argument
315 if (controller->fifo_pos + nr_bytes > controller->fifo_size) in do_fifo_read()
317 if (nr_bytes > 0) { in do_fifo_read()
318 memcpy(dest, &controller->fifo[controller->fifo_pos], nr_bytes); in do_fifo_read()
319 controller->fifo_pos += nr_bytes; in do_fifo_read()
352 int nr_bytes) in do_fifo_write() argument
358 if (controller->fifo_pos + nr_bytes > controller->fifo_size) in do_fifo_write()
360 if (nr_bytes > 0) { in do_fifo_write()
361 memcpy(&controller->fifo[controller->fifo_pos], source, nr_bytes); in do_fifo_write()
362 controller->fifo_pos += nr_bytes; in do_fifo_write()
[all …]
H A Dhw_glue.c250 unsigned nr_bytes, in hw_glue_io_read_buffer_callback() argument
256 if (nr_bytes != sizeof(unsigned_word) in hw_glue_io_read_buffer_callback()
259 space, (unsigned long)addr, nr_bytes); in hw_glue_io_read_buffer_callback()
263 return nr_bytes; in hw_glue_io_read_buffer_callback()
272 unsigned nr_bytes, in hw_glue_io_write_buffer_callback() argument
278 if (nr_bytes != sizeof(unsigned_word) in hw_glue_io_write_buffer_callback()
281 space, (unsigned long)addr, nr_bytes); in hw_glue_io_write_buffer_callback()
286 return nr_bytes; in hw_glue_io_write_buffer_callback()
H A Ddevice_table.h61 unsigned nr_bytes,
78 unsigned nr_bytes,
87 unsigned nr_bytes,
104 unsigned nr_bytes);
111 unsigned nr_bytes,
177 unsigned *nr_bytes,
H A Dhw_nvram.c195 unsigned nr_bytes, in hw_nvram_io_read_buffer() argument
201 for (i = 0; i < nr_bytes; i++) { in hw_nvram_io_read_buffer()
207 return nr_bytes; in hw_nvram_io_read_buffer()
215 unsigned nr_bytes, in hw_nvram_io_write_buffer() argument
221 for (i = 0; i < nr_bytes; i++) { in hw_nvram_io_write_buffer()
232 return nr_bytes; in hw_nvram_io_write_buffer()
H A Demul_generic.c100 unsigned nr_bytes, in emul_read_string() argument
111 if (dest[nr_moved] == '\0' || nr_moved >= nr_bytes) in emul_read_string()
181 unsigned nr_bytes, in emul_write_buffer() argument
186 for (nr_moved = 0; nr_moved < nr_bytes; nr_moved++) { in emul_write_buffer()
198 unsigned nr_bytes, in emul_read_buffer() argument
203 for (nr_moved = 0; nr_moved < nr_bytes; nr_moved++) { in emul_read_buffer()
H A Ddevice.h178 unsigned *nr_bytes,
601 unsigned nr_bytes,
611 unsigned nr_bytes,
628 unsigned nr_bytes);
636 unsigned nr_bytes,
671 unsigned nr_bytes,
681 unsigned nr_bytes,
H A Dcorefile.h111 unsigned nr_bytes, /* host limited */
181 unsigned nr_bytes);
188 unsigned nr_bytes);
H A Demul_generic.h137 unsigned nr_bytes,
155 unsigned nr_bytes,
162 unsigned nr_bytes,
H A Dhw_iobus.c53 unsigned nr_bytes, in hw_iobus_attach_address_callback() argument
75 nr_bytes, in hw_iobus_attach_address_callback()
H A Dmon.h78 unsigned nr_bytes,
86 unsigned nr_bytes,
H A Dhw_eeprom.c514 unsigned nr_bytes, in hw_eeprom_io_read_buffer() argument
520 for (i = 0; i < nr_bytes; i++) { in hw_eeprom_io_read_buffer()
525 return nr_bytes; in hw_eeprom_io_read_buffer()
704 unsigned nr_bytes, in hw_eeprom_io_write_buffer() argument
710 for (i = 0; i < nr_bytes; i++) { in hw_eeprom_io_write_buffer()
715 return nr_bytes; in hw_eeprom_io_write_buffer()
H A Dhw_opic.c927 unsigned nr_bytes, in decode_opic_address() argument
934 if (nr_bytes != 4) { in decode_opic_address()
1612 unsigned nr_bytes, in hw_opic_io_read_buffer() argument
1619 decode_opic_address(me, opic, space, addr, nr_bytes, &type, &index); in hw_opic_io_read_buffer()
1622 space, (unsigned long)addr, nr_bytes); in hw_opic_io_read_buffer()
1679 return nr_bytes; in hw_opic_io_read_buffer()
1688 unsigned nr_bytes, in hw_opic_io_write_buffer() argument
1695 decode_opic_address(me, opic, space, addr, nr_bytes, &type, &index); in hw_opic_io_write_buffer()
1698 space, (unsigned long)addr, nr_bytes); in hw_opic_io_write_buffer()
1747 return nr_bytes; in hw_opic_io_write_buffer()
H A Dhw_htab.c359 unsigned nr_bytes, in htab_map_region() argument
369 claim_memory(me, memory, pte_ra, nr_bytes); in htab_map_region()
372 ra < pte_ra + nr_bytes; in htab_map_region()
H A Dvm.c1114 unsigned nr_bytes, in vm_data_map_read_buffer() argument
1119 for (count = 0; count < nr_bytes; count++) { in vm_data_map_read_buffer()
1145 unsigned nr_bytes, in vm_data_map_write_buffer() argument
1152 for (count = 0; count < nr_bytes; count++) { in vm_data_map_write_buffer()
/netbsd-src/external/gpl3/gdb.old/dist/sim/ppc/
H A Dhw_vm.c109 unsigned nr_bytes, in hw_vm_attach_address() argument
115 if (vm->heap_base < addr + nr_bytes) { in hw_vm_attach_address()
116 vm->heap_base = addr + nr_bytes; in hw_vm_attach_address()
117 vm->heap_bound = addr + nr_bytes; in hw_vm_attach_address()
118 vm->heap_upper_limit = addr + nr_bytes; in hw_vm_attach_address()
124 nr_bytes, in hw_vm_attach_address()
133 unsigned nr_bytes, in hw_vm_add_space() argument
181 unsigned nr_bytes, in hw_vm_io_read_buffer_callback() argument
185 if (hw_vm_add_space(me, addr, nr_bytes, processor, cia) >= nr_bytes) { in hw_vm_io_read_buffer_callback()
186 memset(dest, 0, nr_bytes); /* always initialized to zero */ in hw_vm_io_read_buffer_callback()
[all …]
H A Dhw_core.c64 unsigned nr_bytes, in hw_core_attach_address_callback() argument
76 nr_bytes, in hw_core_attach_address_callback()
86 unsigned nr_bytes) in hw_core_dma_read_buffer_callback() argument
92 nr_bytes); in hw_core_dma_read_buffer_callback()
101 unsigned nr_bytes, in hw_core_dma_write_buffer_callback() argument
111 nr_bytes); in hw_core_dma_write_buffer_callback()
H A Dcorefile.h111 unsigned nr_bytes, /* host limited */
181 unsigned nr_bytes);
188 unsigned nr_bytes);
H A Dhw_iobus.c53 unsigned nr_bytes, in hw_iobus_attach_address_callback() argument
75 nr_bytes, in hw_iobus_attach_address_callback()
H A Dmon.h78 unsigned nr_bytes,
86 unsigned nr_bytes,
/netbsd-src/external/gpl3/gdb/dist/sim/common/
H A DChangeLog-20212503 * sim-memopt.c (do_memopt_add): Set nr_bytes to s.st_size before
2505 nr_bytes is 0.
6197 sim_core_trace_N. Add nr_bytes argument. Replace transfer argument
6754 * sim-core.h (struct _sim_core_mapping): Change nr_bytes to type
6757 * sim-core.h, sim-core.c (sim_core_attach): Make nr_bytes of type
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-20015530 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
5551 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-20015530 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
5551 * remote.c (remote_write_bytes): Set nr_bytes before returning it.

12