Commit 479aa897 authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Fix spelling/wording issues



Found by using:
    codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 450a7a11
......@@ -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
......
......@@ -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)
{
......
......@@ -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);
......
......@@ -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,
......
......@@ -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.
......
......@@ -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
......
......@@ -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
......
......@@ -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
{
......
......@@ -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
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment