/* The chip can handle the page table of 4k pages * (emu20k1 can handle even 8k pages, but we don't use it right now)
*/ #define CT_PAGE_SIZE 4096 #define CT_PAGE_SHIFT 12 #define CT_PAGE_MASK (~(PAGE_SIZE - 1)) #define CT_PAGE_ALIGN(addr) ALIGN(addr, CT_PAGE_SIZE)
struct ct_vm_block { unsignedint addr; /* starting logical addr of this block */ unsignedint size; /* size of this device virtual mem block */ struct list_head list;
};
struct snd_pcm_substream;
/* Virtual memory management object for card device */ struct ct_vm { struct snd_dma_buffer ptp[CT_PTP_NUM]; /* Device page table pages */ unsignedint size; /* Available addr space in bytes */ struct list_head unused; /* List of unused blocks */ struct list_head used; /* List of used blocks */ struct mutex lock;
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.