summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-11 04:55:07 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-11 04:55:07 +0000
commit1654b2d6bf7bfa019c79f4112778853d1af0fd35 (patch)
treea7661efded89b3e01de2034f77bf6f7119da7b12
parent5d20fa6b30bb9abdf9954e8e5cdd99bab85ee9f0 (diff)
downloadqemu-1654b2d6bf7bfa019c79f4112778853d1af0fd35.tar.gz
Fix few spelling issues in comments
(Stefan Weil) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4187 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/e1000_hw.h2
-rw-r--r--hw/stellaris.c2
-rw-r--r--target-arm/helper.c8
-rw-r--r--target-arm/neon_helper.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/hw/e1000_hw.h b/hw/e1000_hw.h
index 0e90e315fb..9993a7dec7 100644
--- a/hw/e1000_hw.h
+++ b/hw/e1000_hw.h
@@ -734,7 +734,7 @@ struct e1000_rx_desc {
uint16_t special;
};
-/* Receive Decriptor bit definitions */
+/* Receive Descriptor bit definitions */
#define E1000_RXD_STAT_DD 0x01 /* Descriptor Done */
#define E1000_RXD_STAT_EOP 0x02 /* End of Packet */
#define E1000_RXD_STAT_IXSM 0x04 /* Ignore checksum */
diff --git a/hw/stellaris.c b/hw/stellaris.c
index 2fb927b614..68f7137b13 100644
--- a/hw/stellaris.c
+++ b/hw/stellaris.c
@@ -1,5 +1,5 @@
/*
- * Luminary Micro Stellaris preipherals
+ * Luminary Micro Stellaris peripherals
*
* Copyright (c) 2006 CodeSourcery.
* Written by Paul Brook
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 3f7a01d236..d6a5f33ff5 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -1908,7 +1908,7 @@ void cpu_arm_set_cp_io(CPUARMState *env, int cpnum,
/* Signed saturating arithmetic. */
-/* Perform 16-bit signed satruating addition. */
+/* Perform 16-bit signed saturating addition. */
static inline uint16_t add16_sat(uint16_t a, uint16_t b)
{
uint16_t res;
@@ -1923,7 +1923,7 @@ static inline uint16_t add16_sat(uint16_t a, uint16_t b)
return res;
}
-/* Perform 8-bit signed satruating addition. */
+/* Perform 8-bit signed saturating addition. */
static inline uint8_t add8_sat(uint8_t a, uint8_t b)
{
uint8_t res;
@@ -1938,7 +1938,7 @@ static inline uint8_t add8_sat(uint8_t a, uint8_t b)
return res;
}
-/* Perform 16-bit signed satruating subtraction. */
+/* Perform 16-bit signed saturating subtraction. */
static inline uint16_t sub16_sat(uint16_t a, uint16_t b)
{
uint16_t res;
@@ -1953,7 +1953,7 @@ static inline uint16_t sub16_sat(uint16_t a, uint16_t b)
return res;
}
-/* Perform 8-bit signed satruating subtraction. */
+/* Perform 8-bit signed saturating subtraction. */
static inline uint8_t sub8_sat(uint8_t a, uint8_t b)
{
uint8_t res;
diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c
index edc6e11ee2..4ee5658362 100644
--- a/target-arm/neon_helper.c
+++ b/target-arm/neon_helper.c
@@ -726,7 +726,7 @@ NEON_VOP(mul_u8, neon_u8, 4)
NEON_VOP(mul_u16, neon_u16, 2)
#undef NEON_FN
-/* Polynomial multiplication is like integer multiplcation except the
+/* Polynomial multiplication is like integer multiplication except the
partial products are XORed, not added. */
uint32_t HELPER(neon_mul_p8)(uint32_t op1, uint32_t op2)
{