aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-04-28 17:20:42 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-05-08 10:02:18 +0100
commit0d50d616fe42fdcbb95ee8000a9a6603cb8c2e34 (patch)
tree78f8cb32682b429ec653dcb19b7a4bf17f06081f /hw
parent8186e78311333a09315d86ea239c785c78519da1 (diff)
downloadqemu-0d50d616fe42fdcbb95ee8000a9a6603cb8c2e34.zip
qemu-0d50d616fe42fdcbb95ee8000a9a6603cb8c2e34.tar.gz
qemu-0d50d616fe42fdcbb95ee8000a9a6603cb8c2e34.tar.bz2
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/xilinx_axidma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c
index e32534f..571a5b0 100644
--- a/hw/xilinx_axidma.c
+++ b/hw/xilinx_axidma.c
@@ -134,10 +134,10 @@ static inline int stream_idle(struct AXIStream *s)
static void stream_reset(struct AXIStream *s)
{
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)
{
int sid;