mirror of https://github.com/xemu-project/xemu.git
Fix typos in comment (threshhold -> threshold, mapp -> map)
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
8186e78311
commit
0d50d616fe
|
@ -134,10 +134,10 @@ static inline int stream_idle(struct AXIStream *s)
|
||||||
static void stream_reset(struct AXIStream *s)
|
static void stream_reset(struct AXIStream *s)
|
||||||
{
|
{
|
||||||
s->regs[R_DMASR] = DMASR_HALTED; /* starts up halted. */
|
s->regs[R_DMASR] = DMASR_HALTED; /* starts up halted. */
|
||||||
s->regs[R_DMACR] = 1 << 16; /* Starts with one in compl threshhold. */
|
s->regs[R_DMACR] = 1 << 16; /* Starts with one in compl threshold. */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mapp an offset addr into a channel index. */
|
/* Map an offset addr into a channel index. */
|
||||||
static inline int streamid_from_addr(target_phys_addr_t addr)
|
static inline int streamid_from_addr(target_phys_addr_t addr)
|
||||||
{
|
{
|
||||||
int sid;
|
int sid;
|
||||||
|
|
Loading…
Reference in New Issue