Пример #1
0
static void
cfi_chip_query_8(struct cfi * const cfi)
{
#ifdef NOTYET
	uint64_t data[0x80];

	bus_space_read_region_8(cfi->cfi_bst, cfi->cfi_bsh, 0, data,
	    __arraycount(data));
	CFI_DUMP_QRY(0, data, sizeof(data), 8);
	CFI_QRY_UNPACK_COMMON(cfi, data, uint64_t);
#endif
}
void
bs_through_bs_rr_8(bus_space_tag_t t, bus_space_handle_t bsh,
	    bus_size_t offset, u_int64_t *addr, bus_size_t count)
{
	bus_space_read_region_8(t->bs_base, bsh, offset, addr, count);
}