/* Structure used internally */ /* The internals are here for the inline functions *sake,certainlynotfortheusertomesswith!
*/ struct bcom_sram {
phys_addr_t base_phys; void *base_virt; unsignedint size;
rh_info_t *rh;
spinlock_t lock;
};
externstruct bcom_sram *bcom_sram;
/* Public API */ externint bcom_sram_init(struct device_node *sram_node, char *owner); externvoid bcom_sram_cleanup(void);
externvoid* bcom_sram_alloc(int size, int align, phys_addr_t *phys); externvoid bcom_sram_free(void *ptr);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.