Fix remaining typos in various folders
Found with the "codespell" utility Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
This commit is contained in:
parent
e8124ca96e
commit
adc561044f
4
README
4
README
|
@ -99,7 +99,7 @@ The SLOF source code is structured into the following directories:
|
|||
- llfw : The Low-Level Firmware - this part is platform-specific firmware
|
||||
that is responsible to boot the system from the reset vector to a
|
||||
state where it is possible to run the Open Firmware Forth engine
|
||||
(i.e. it sets up the necessary CPU registers, intializes the memory,
|
||||
(i.e. it sets up the necessary CPU registers, initializes the memory,
|
||||
does some board-specific hardware configuration, etc.)
|
||||
|
||||
- slof : The code for the Open Firmware environment, including the Forth
|
||||
|
@ -232,7 +232,7 @@ To add primitives:
|
|||
* 2x 256 MB, slots 3/4
|
||||
* 2x 256 MB, slots 1/2
|
||||
|
||||
On a JS20 SLOF wil always report 0.5 GB even if there is much more memory
|
||||
On a JS20 SLOF will always report 0.5 GB even if there is much more memory
|
||||
available.
|
||||
|
||||
On a JS21 all memory configurations should work.
|
||||
|
|
|
@ -56,7 +56,7 @@ struct ehdr {
|
|||
#define SHT_SHLIB 10 /* Reserved */
|
||||
#define SHT_DYNSYM 11 /* Dynamic loader symbol table */
|
||||
|
||||
/* Section attributs (sh_flags) */
|
||||
/* Section attributes (sh_flags) */
|
||||
#define SHF_WRITE 0x1
|
||||
#define SHF_ALLOC 0x2
|
||||
#define SHF_EXECINSTR 0x4
|
||||
|
|
|
@ -816,8 +816,8 @@ diff -u -u -r1.1 -r1.4
|
|||
#define SYSMODE_PREFIX_REPNE 0x00000100
|
||||
#define SYSMODE_PREFIX_DATA 0x00000200
|
||||
#define SYSMODE_PREFIX_ADDR 0x00000400
|
||||
+//phueper: for REP(E|NE) Instructions, we need to decide wether it should be using
|
||||
+//the 32bit ECX register as or the 16bit CX register as count register
|
||||
+// for REP(E|NE) Instructions, we need to decide whether it should be using
|
||||
+// the 32bit ECX register or the 16bit CX register as count register
|
||||
+#define SYSMODE_32BIT_REP 0x00000800
|
||||
#define SYSMODE_INTR_PENDING 0x10000000
|
||||
#define SYSMODE_EXTRN_INTR 0x20000000
|
||||
|
|
|
@ -18,7 +18,7 @@ SVN=`which svn`
|
|||
PATCH=`which patch`
|
||||
DIFF_FILE=./x86emu_changes.diff
|
||||
|
||||
# check wether svn, patch, ... is available...
|
||||
# check whether svn, patch, ... is available...
|
||||
|
||||
if [ ! -x $SVN ]; then
|
||||
echo "subversion executable not found!"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
uint64_t ui64Generator1;
|
||||
|
||||
/**
|
||||
* calculate standart ethernet 32 bit CRC
|
||||
* calculate standard ethernet 32 bit CRC
|
||||
* generator polynome is 0x104C11DB7
|
||||
* this algorithm can be used for encoding and decoding
|
||||
*/
|
||||
|
@ -205,7 +205,7 @@ calCRCword(unsigned char *cPtr, uint32_t ui32NoWords, uint64_t AccumCRC)
|
|||
createCRCParameter(&ui64Mask, &uiRegisterLength);
|
||||
|
||||
if ((ui32NoWords % 2) != 0) {
|
||||
/* if Data string does not end at word boundery add one byte */
|
||||
/* if Data string does not end at word boundary add one byte */
|
||||
ui32NoWords++;
|
||||
cPtr[ui32NoWords] = 0;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ Function:
|
|||
r4: Configuration
|
||||
Output:
|
||||
r3: Entry point for rtas calls
|
||||
Decription: Called by OpenFirmware to instantiate rtas, needs to copy
|
||||
Description: Called by OpenFirmware to instantiate rtas, needs to copy
|
||||
itself to destination, also do a relocations.
|
||||
|
||||
*/
|
||||
|
|
|
@ -38,7 +38,7 @@ Function: rtas_call
|
|||
rtas_args: pointer to RTAS arguments structure
|
||||
Output:
|
||||
|
||||
Decription: Handle RTAS call. This C function is called
|
||||
Description: Handle RTAS call. This C function is called
|
||||
from the asm function rtas_entry.
|
||||
*/
|
||||
|
||||
|
|
|
@ -20,9 +20,8 @@ Function:
|
|||
r4: base address
|
||||
Output:
|
||||
|
||||
Decription: Main entry point, called from OS. Second parameter is not
|
||||
used.
|
||||
|
||||
Description:
|
||||
Main entry point, called from OS. Second parameter is not used.
|
||||
*/
|
||||
.globl rtas_entry
|
||||
rtas_entry:
|
||||
|
|
|
@ -488,7 +488,7 @@ constant <colon>
|
|||
;
|
||||
|
||||
\ peek/poke minimal implementation, just to support FCode drivers
|
||||
\ Any implmentation with full error detection will be platform specific
|
||||
\ Any implementation with full error detection will be platform specific
|
||||
: cpeek ( addr -- false | byte true ) c@ true ;
|
||||
: cpoke ( byte addr -- success? ) c! true ;
|
||||
: wpeek ( addr -- false | word true ) w@ true ;
|
||||
|
|
|
@ -37,7 +37,7 @@ while [ $# -gt 0 ] ; do
|
|||
done
|
||||
|
||||
if [ -z $LDSFILE ]; then
|
||||
echo "Please specifiy an lds file with the --lds option"
|
||||
echo "Please specify an lds file with the --lds option"
|
||||
exit 42
|
||||
fi
|
||||
|
||||
|
|
|
@ -248,7 +248,7 @@ update_modification_time(struct stH *header)
|
|||
date = cpu_to_be64(strtoll(dastr, NULL, 16));
|
||||
|
||||
/* this does not match the definition from
|
||||
* struct stH, but we immitate the bug from
|
||||
* struct stH, but we imitate the bug from
|
||||
* flash image creation in create_crc.c.
|
||||
* The date is in mdate and time in padding2. */
|
||||
memcpy(&(header->mdate), &date, 8);
|
||||
|
|
Loading…
Reference in New Issue