/* * Copyright (c) 2005 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by Johannes Hofmann and * Joerg Sonnenberger #include #include #include struct fw_image { TAILQ_ENTRY(fw_image) fw_link; int fw_refcnt; const char *fw_name; size_t fw_imglen; c_caddr_t *fw_image; bus_dma_tag_t fw_dma_tag; bus_dmamap_t fw_dma_map; bus_addr_t fw_dma_addr; }; struct fw_image *firmware_image_load(const char *); void firmware_image_unload(struct fw_image *); #endif