summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 15:54:30 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 16:15:02 -0800
commit479aa89713c766c627aca06db64dfc8acded6aa5 (patch)
tree57968793f76510b249469629e007989ae467540a
parent450a7a11f47bf23fc55d2e103dc0835b5ce9a999 (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--README.md2
-rw-r--r--src/HGSMIBase.c2
-rw-r--r--src/HGSMIBase.h2
-rw-r--r--src/HGSMICommon.c2
-rw-r--r--src/Modesetting.c6
-rw-r--r--src/VBoxVideo.h12
-rw-r--r--src/VBoxVideoGuest.h2
-rw-r--r--src/VBoxVideoIPRT.h2
-rw-r--r--src/VBoxVideoVBE.h2
-rw-r--r--src/vboxvideo.h2
10 files changed, 17 insertions, 17 deletions
diff --git a/README.md b/README.md
index 6e65576..634dfaf 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox
diff --git a/src/HGSMIBase.c b/src/HGSMIBase.c
index f6cfbb3..6ac71d2 100644
--- a/src/HGSMIBase.c
+++ b/src/HGSMIBase.c
@@ -47,7 +47,7 @@ DECLHIDDEN(bool) VBoxHGSMIIsSupported(void)
* @returns VERR_NOT_IMPLEMENTED if the host does not support the command.
* @returns VERR_NO_MEMORY if a heap allocation fails.
* @param pCtx the context of the guest heap to use.
- * @param offLocation the offset chosen for the flags withing guest VRAM.
+ * @param offLocation the offset chosen for the flags within guest VRAM.
*/
DECLHIDDEN(int) VBoxHGSMIReportFlagsLocation(PHGSMIGUESTCOMMANDCONTEXT pCtx, HGSMIOFFSET offLocation)
{
diff --git a/src/HGSMIBase.h b/src/HGSMIBase.h
index c8d898c..cdda33a 100644
--- a/src/HGSMIBase.h
+++ b/src/HGSMIBase.h
@@ -33,7 +33,7 @@ RT_C_DECLS_BEGIN
/** @name Base HGSMI Buffer APIs
* @{ */
-/** Acknowlege an IRQ. */
+/** Acknowledge an IRQ. */
DECLINLINE(void) VBoxHGSMIClearIrq(PHGSMIHOSTCOMMANDCONTEXT pCtx)
{
VBVO_PORT_WRITE_U32(pCtx->port, HGSMIOFFSET_VOID);
diff --git a/src/HGSMICommon.c b/src/HGSMICommon.c
index 59d3325..4a7a2f5 100644
--- a/src/HGSMICommon.c
+++ b/src/HGSMICommon.c
@@ -149,7 +149,7 @@ void HGSMIAreaClear(HGSMIAREA *pArea)
}
/* Initialize the memory buffer including its checksum.
- * No changes alloed to the header and the tail after that.
+ * No changes allowed to the header and the tail after that.
*/
HGSMIOFFSET HGSMIBufferInitializeSingle(const HGSMIAREA *pArea,
HGSMIBUFFERHEADER *pHeader,
diff --git a/src/Modesetting.c b/src/Modesetting.c
index 6da53e2..db1773c 100644
--- a/src/Modesetting.c
+++ b/src/Modesetting.c
@@ -78,7 +78,7 @@ DECLHIDDEN(bool) VBoxVideoAnyWidthAllowed(void)
/**
* Tell the host about how VRAM is divided up between each screen via an HGSMI
- * command. It is acceptable to specifiy identical data for each screen if
+ * command. It is acceptable to specify identical data for each screen if
* they share a single framebuffer.
*
* @returns iprt status code, either VERR_NO_MEMORY or the status returned by
@@ -286,8 +286,8 @@ DECLHIDDEN(void) VBoxHGSMIProcessDisplayInfo(PHGSMIGUESTCOMMANDCONTEXT pCtx,
* for any screen, at which time it is reset to the bounding rectangle of all
* virtual screens.
* @param pCtx The context containing the heap to use.
- * @param cOriginX Upper left X co-ordinate relative to the first screen.
- * @param cOriginY Upper left Y co-ordinate relative to the first screen.
+ * @param cOriginX Upper left X coordinate relative to the first screen.
+ * @param cOriginY Upper left Y coordinate relative to the first screen.
* @param cWidth Rectangle width.
* @param cHeight Rectangle height.
* @returns iprt status code.
diff --git a/src/VBoxVideo.h b/src/VBoxVideo.h
index 2001246..bcf5593 100644
--- a/src/VBoxVideo.h
+++ b/src/VBoxVideo.h
@@ -954,7 +954,7 @@ typedef struct VBVAHOSTCMDEVENT
typedef struct VBVAHOSTCMD
{
- /* destination ID if >=0 specifies display index, otherwize the command is directed to the miniport */
+ /* destination ID if >=0 specifies display index, otherwise the command is directed to the miniport */
int32_t iDstID;
int32_t customOpCode;
union
@@ -1241,7 +1241,7 @@ typedef struct VBVAQUERYMODEHINTS
} VBVAQUERYMODEHINTS;
/** Structure in which a mode hint is returned. The guest allocates an array
- * of these immediately after the VBVAQUERYMODEHINTS structure. To accomodate
+ * of these immediately after the VBVAQUERYMODEHINTS structure. To accommodate
* future extensions, the VBVAQUERYMODEHINTS structure specifies the size of
* the VBVAMODEHINT structures allocated by the guest, and the host only fills
* out structure elements which fit into that size. The host should fill any
@@ -1268,8 +1268,8 @@ typedef struct VBVAMODEHINT
* @see VBVA_REPORT_INPUT_MAPPING. */
typedef struct VBVAREPORTINPUTMAPPING
{
- int32_t x; /**< Upper left X co-ordinate relative to the first screen. */
- int32_t y; /**< Upper left Y co-ordinate relative to the first screen. */
+ int32_t x; /**< Upper left X coordinate relative to the first screen. */
+ int32_t y; /**< Upper left Y coordinate relative to the first screen. */
uint32_t cx; /**< Rectangle width. */
uint32_t cy; /**< Rectangle height. */
} VBVAREPORTINPUTMAPPING;
@@ -1302,7 +1302,7 @@ typedef struct VBOXSHGSMIHEADER
{
uint64_t pvNext; /*<- completion processing queue */
uint32_t fFlags; /*<- see VBOXSHGSMI_FLAG_XXX Flags */
- uint32_t cRefs; /*<- command referece count */
+ uint32_t cRefs; /*<- command reference count */
uint64_t u64Info1; /*<- contents depends on the fFlags value */
uint64_t u64Info2; /*<- contents depends on the fFlags value */
} VBOXSHGSMIHEADER, *PVBOXSHGSMIHEADER;
@@ -1441,7 +1441,7 @@ typedef struct VBOXVDMA_SURF_DESC
/*typedef uint64_t VBOXVDMAPHADDRESS;*/
typedef uint64_t VBOXVDMASURFHANDLE;
-/* region specified as a rectangle, otherwize it is a size of memory pointed to by phys address */
+/* region specified as a rectangle, otherwise it is a size of memory pointed to by phys address */
#define VBOXVDMAOPERAND_FLAGS_RECTL 0x1
/* Surface handle is valid */
#define VBOXVDMAOPERAND_FLAGS_PRIMARY 0x2
diff --git a/src/VBoxVideoGuest.h b/src/VBoxVideoGuest.h
index ce6e563..8341caa 100644
--- a/src/VBoxVideoGuest.h
+++ b/src/VBoxVideoGuest.h
@@ -123,7 +123,7 @@ DECLHIDDEN(uint16_t) VBoxHGSMIGetScreenFlags(PHGSMIGUESTCOMMANDCONTEXT pCtx);
struct VBVAINFOVIEW;
/**
- * Callback funtion called from @a VBoxHGSMISendViewInfo to initialise
+ * Callback function called from @a VBoxHGSMISendViewInfo to initialise
* the @a VBVAINFOVIEW structure for each screen.
*
* @returns iprt status code
diff --git a/src/VBoxVideoIPRT.h b/src/VBoxVideoIPRT.h
index 773044c..305b1fb 100644
--- a/src/VBoxVideoIPRT.h
+++ b/src/VBoxVideoIPRT.h
@@ -137,7 +137,7 @@ RT_C_DECLS_END
#define unlikely _X_UNLIKELY
/**
- * A point in a two dimentional coordinate system.
+ * A point in a two dimensional coordinate system.
*/
typedef struct RTPOINT
{
diff --git a/src/VBoxVideoVBE.h b/src/VBoxVideoVBE.h
index 78f8a89..13855c4 100644
--- a/src/VBoxVideoVBE.h
+++ b/src/VBoxVideoVBE.h
@@ -25,7 +25,7 @@
/* GUEST <-> HOST Communication API */
-/** @todo FIXME: Either dynamicly ask host for this or put somewhere high in
+/** @todo FIXME: Either dynamically ask host for this or put somewhere high in
* physical memory like 0xE0000000. */
#define VBE_DISPI_BANK_ADDRESS 0xA0000
diff --git a/src/vboxvideo.h b/src/vboxvideo.h
index 83f8f84..0058d72 100644
--- a/src/vboxvideo.h
+++ b/src/vboxvideo.h
@@ -154,7 +154,7 @@ typedef struct VBOXRec
unsigned long cbView;
/** Whether the pre-X-server mode was a VBE mode */
Bool fSavedVBEMode;
- /** Paramters of the saved pre-X-server VBE mode, invalid if there is none
+ /** Parameters of the saved pre-X-server VBE mode, invalid if there is none
*/
uint16_t cSavedWidth, cSavedHeight, cSavedPitch, cSavedBPP, fSavedFlags;
CloseScreenProcPtr CloseScreen;