From e11358fe228b3654efb1238229b97fd8f7f3e0d5 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 20 Jun 2009 21:21:46 +0000 Subject: [PATCH] Some typo fixes etc. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@31451 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/i386-pc/exec/core.c | 2 +- arch/i386-pc/exec/corelow.S | 2 +- arch/i386-pc/exec/reschedule.c | 6 +++--- arch/i386-pc/exec/supervisor.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/i386-pc/exec/core.c b/arch/i386-pc/exec/core.c index 539e1a565..46fc07bc0 100644 --- a/arch/i386-pc/exec/core.c +++ b/arch/i386-pc/exec/core.c @@ -286,7 +286,7 @@ void irqSetup() #if 0 asm("rep\n\tstosb" : - :"eax"(0), /* FIll with 0 */ + :"eax"(0), /* Fill with 0 */ "D"(&irq_desc), /* irq_desc table */ "ecx"(512/4)); #else diff --git a/arch/i386-pc/exec/corelow.S b/arch/i386-pc/exec/corelow.S index 9babdbf30..b5f498abc 100644 --- a/arch/i386-pc/exec/corelow.S +++ b/arch/i386-pc/exec/corelow.S @@ -369,7 +369,7 @@ exec_ProcessFlags: movl tc_Launch(%ecx),%eax call *%eax 1: - ret /* HANDLE TASK FALGS!!!! */ + ret /* HANDLE TASK FLAGS!!!! */ Exec_Restore_Gene: movl %esp,%edi movl tc_ETask(%ecx),%esi diff --git a/arch/i386-pc/exec/reschedule.c b/arch/i386-pc/exec/reschedule.c index d52a88901..f46d2043f 100644 --- a/arch/i386-pc/exec/reschedule.c +++ b/arch/i386-pc/exec/reschedule.c @@ -27,7 +27,7 @@ void Exec_Permit_Supervisor(); struct ExecBase *, SysBase, 8, Exec) /* FUNCTION - Reschedule will place the task into one of Execs internal task + Reschedule will place the task into one of Exec's internal task lists. Which list it is placed in will depend upon whether the task is ready to run, or whether it is waiting for an external event to awaken it. @@ -37,7 +37,7 @@ void Exec_Permit_Supervisor(); need to implement. You should not do any costly calculations since you will be - running in interupt mode. + running in interrupt mode. INPUTS task - The task to insert into the list. @@ -67,7 +67,7 @@ void Exec_Permit_Supervisor(); UBYTE flag = SysBase->AttnResched; /* Save state of scheduling attention */ - AROS_ATOMIC_OR(SysBase->AttnResched, 0x80);/* Set scheduling attention */ + AROS_ATOMIC_OR(SysBase->AttnResched, 0x80); /* Set scheduling attention */ if (SysBase->TDNestCnt < 0) /* If task switching enabled */ { diff --git a/arch/i386-pc/exec/supervisor.c b/arch/i386-pc/exec/supervisor.c index 68a2ecee9..1bc6a40c8 100644 --- a/arch/i386-pc/exec/supervisor.c +++ b/arch/i386-pc/exec/supervisor.c @@ -50,7 +50,7 @@ m68k (native) Runs the process in supervisor mode. The process must end with an RTE instruction. It should save any - registers which is uses. + registers which it uses. m68k (under emulation) EXAMPLE @@ -67,7 +67,7 @@ you don't think it makes any sense. But it could be quite useful to make it run something under different protection levels. - You should trust that the programmer know what they are doing :-) + You should trust that the programmer knows what he is doing :-) HISTORY -- 2.11.4.GIT