Skip to content

Commit 0653fee

Browse files
committed
fix typos
1 parent d31b77b commit 0653fee

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

stackman/extras/slp_switch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#define SLP_STACK_MAGIC 0
2626

27-
/* need a special function arount SLP_SAVE_STATE() because
27+
/* need a special function around SLP_SAVE_STATE() because
2828
* the macro has a built-in return of 0 or -1. Must catch
2929
* that.
3030
*/

stackman/platforms/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* if an implementaition exists, and once (defining STACKMAN_SWITCH_IMPL)
66
* to define the implementation.
77
* This results in the definition of STACKMAN_PLATFORM
8-
* and possibly STACKMAN_ASSEMBLY_SRC if the implentation is assembly
8+
* and possibly STACKMAN_ASSEMBLY_SRC if the implementation is assembly
99
* based and not in-line c.
1010
*/
1111

stackman/platforms/switch_arm_msvc.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
mov r4, r3
2929
blx r3 ;first callback
3030
mov r2, r0 ;store new stackpointer in register, for next cb,
31-
; switch stack pointer, maintaing fp offset
31+
; switch stack pointer, maintaining fp offset
3232
sub r1, sp, r0
3333
mov sp, r0 ;switch stack pointer
3434
sub fp, fp, r1

stackman/platforms/switch_x86_gcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* and preserve registers. But we ourselves assemble the
3434
* calls and stack pointer changes
3535
*
36-
* This file can be excercised on 64 bit linux by adding -m32 to
36+
* This file can be exercised on 64 bit linux by adding -m32 to
3737
* the gcc command line.
3838
*/
3939
#include "../stackman_switch.h"

stackman/stackman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
#endif
8181

8282

83-
/* align a stack pointer to the righ alighment, either nudging it up or down */
83+
/* align a stack pointer to the right alignment, either nudging it up or down */
8484
#define STACKMAN_SP_ALIGN_DOWN(a) (((intptr_t)(a) & ~(STACKMAN_STACK_ALIGN-1)))
8585
#define STACKMAN_SP_ALIGN_UP(a) (((intptr_t)((a)+STACKMAN_STACK_ALIGN-1) & ~(STACKMAN_STACK_ALIGN-1)))
8686

stackman/stackman_switch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ typedef enum stackman_op_t {
9797
*/
9898
STACKMAN_OP_RESTORE = 1,
9999

100-
/* The callback is being invoked from a stackman_call() invokation.
100+
/* The callback is being invoked from a stackman_call() invocation.
101101
* Stack_pointer is the pointer that was provided to stackman_call()
102102
*/
103103
STACKMAN_OP_CALL = 2,

0 commit comments

Comments
 (0)