summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/io_perm.c2
-rw-r--r--i386/i386/pcb.c2
-rw-r--r--i386/i386/trap.c2
-rw-r--r--i386/i386at/com.c2
-rw-r--r--i386/i386at/kd.c6
-rw-r--r--i386/include/mach/i386/vm_param.h2
6 files changed, 8 insertions, 8 deletions
diff --git a/i386/i386/io_perm.c b/i386/i386/io_perm.c
index 6a6e660..d5c7103 100644
--- a/i386/i386/io_perm.c
+++ b/i386/i386/io_perm.c
@@ -221,7 +221,7 @@ i386_io_perm_create (const ipc_port_t master_port, io_port_t from, io_port_t to,
}
/* Modify the I/O permissions for TARGET_TASK. If ENABLE is TRUE, the
- permission to acces the I/O ports specified by IO_PERM is granted,
+ permission to access the I/O ports specified by IO_PERM is granted,
otherwise it is withdrawn.
The function returns KERN_INVALID_ARGUMENT if TARGET_TASK is not a valid
diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c
index 5866cac..e8040c8 100644
--- a/i386/i386/pcb.c
+++ b/i386/i386/pcb.c
@@ -801,7 +801,7 @@ thread_set_syscall_return(
}
/*
- * Return prefered address of user stack.
+ * Return preferred address of user stack.
* Always returns low address. If stack grows up,
* the stack grows away from this address;
* if stack grows down, the stack grows towards this
diff --git a/i386/i386/trap.c b/i386/i386/trap.c
index f1fe634..6470504 100644
--- a/i386/i386/trap.c
+++ b/i386/i386/trap.c
@@ -574,7 +574,7 @@ i386_astintr(void)
if (need_ast[mycpu] & AST_I386_FP) {
/*
* AST was for delayed floating-point exception -
- * FP interrupt occured while in kernel.
+ * FP interrupt occurred while in kernel.
* Turn off this AST reason and handle the FPU error.
*/
ast_off(mycpu, AST_I386_FP);
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index c36cb6a..84891bd 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -145,7 +145,7 @@ comprobe_general(struct bus_device *dev, int noisy)
type = "82450 or 16450";
outb(FIFO_CTL(addr), iFIFOENA | iFIFO14CH); /* Enable fifo */
if ((inb(FIFO_CTL(addr)) & iFIFO14CH) != 0)
- { /* Was it successfull */
+ { /* Was it successful */
/* if both bits are not set then broken xx550 */
if ((inb(FIFO_CTL(addr)) & iFIFO14CH) == iFIFO14CH)
{
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 7339767..bbb0023 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -204,7 +204,7 @@ u_char *esc_spt = (u_char *)0;
- Delete returns `ESC [ 9' instead of 0x7f.
- Alt + function keys return key sequences that are different
from the key sequences returned by the function keys alone.
- This is done with the idea of alowing a terminal server to
+ This is done with the idea of allowing a terminal server to
implement multiple virtual consoles mapped on Alt+F1, Alt+F2,
etc, as in Linux.
@@ -1880,7 +1880,7 @@ kd_cr(void)
* of the screen.
*
* input : None
- * output : Screen is cleared from current cursor postion to bottom
+ * output : Screen is cleared from current cursor position to bottom
*
*/
void
@@ -1903,7 +1903,7 @@ kd_cltobcur(void)
* of the screen.
*
* input : None
- * output : Screen is cleared from current cursor postion to top
+ * output : Screen is cleared from current cursor position to top
*
*/
void
diff --git a/i386/include/mach/i386/vm_param.h b/i386/include/mach/i386/vm_param.h
index 8f708f0..3a209b8 100644
--- a/i386/include/mach/i386/vm_param.h
+++ b/i386/include/mach/i386/vm_param.h
@@ -29,7 +29,7 @@
* Date: 1985
*
* I386 machine dependent virtual memory parameters.
- * Most of the declarations are preceeded by I386_ (or i386_)
+ * Most of the declarations are preceded by I386_ (or i386_)
* which is OK because only I386 specific code will be using
* them.
*/