Revision: 366 Author: alexander.schrijver Date: Sat Oct 24 13:14:36 2009 Log: Fix a bunch of trivial typo's. http://code.google.com/p/freenos/source/detail?r=366 Modified: /trunk/bin/sh/Shell.h /trunk/include/API/PrivExec.h /trunk/include/HashTable.h /trunk/include/Shared.h /trunk/include/Stack.h /trunk/include/X86/CPU.h /trunk/kernel/X86/Kernel.cpp /trunk/lib/libc/stdlib.h /trunk/sbin/init/Main.cpp /trunk/srv/filesystem/FileStorage.h /trunk/srv/filesystem/FileSystemPath.h /trunk/srv/filesystem/Storage.h /trunk/srv/filesystem/ext2/Ext2Create.h /trunk/srv/filesystem/ext2/Ext2FileSystem.cpp /trunk/srv/filesystem/linn/LinnCreate.cpp /trunk/srv/filesystem/linn/LinnCreate.h /trunk/srv/filesystem/linn/LinnDirectory.h /trunk/srv/filesystem/linn/LinnFileSystem.cpp ======================================= --- /trunk/bin/sh/Shell.h Sun Jun 28 05:22:24 2009 +++ /trunk/bin/sh/Shell.h Sat Oct 24 13:14:36 2009 @@ -58,7 +58,7 @@ void prompt(); /** - * Parses an input string into seperate pieces. + * Parses an input string into separate pieces. * @param cmdline Command input string. * @param argv Argument list buffer. * @param maxArgv Maximum number of entries in argv. ======================================= --- /trunk/include/API/PrivExec.h Fri Jun 12 05:34:16 2009 +++ /trunk/include/API/PrivExec.h Sat Oct 24 13:14:36 2009 @@ -43,7 +43,7 @@ PrivOperation; /**- * Prototype for user applications. Performs various priviledged operations.
+ * Prototype for user applications. Performs various privileged operations. * @param op The operation to perform. * @return Zero on success and error code on failure. */ ======================================= --- /trunk/include/HashTable.h Sat Apr 25 16:17:47 2009 +++ /trunk/include/HashTable.h Sat Oct 24 13:14:36 2009 @@ -30,7 +30,7 @@ #define DEFAULT_SIZE 64 /** - * Describes a bucket in the HashTable, for collition avoidance. + * Describes a bucket in the HashTable, for collision avoidance. */ template <class Key, class Value> class HashBucket { ======================================= --- /trunk/include/Shared.h Sun Aug 2 03:24:04 2009 +++ /trunk/include/Shared.h Sat Oct 24 13:14:36 2009 @@ -58,7 +58,7 @@ * Load a shared memory object by it's key. * @param key Unique key. * @param count Number of objects shared. - * @return True if successfull, false otherwise. + * @return True if successful, false otherwise. */ bool load(const char *key, Size count) { ======================================= --- /trunk/include/Stack.h Fri Jul 10 09:05:00 2009 +++ /trunk/include/Stack.h Sat Oct 24 13:14:36 2009 @@ -21,7 +21,7 @@ #include "Element.h" /** - * This is an implementaion of the stack datastructure. + * This is an implementation of the stack datastructure. */ template <class T> class Stack { ======================================= --- /trunk/include/X86/CPU.h Thu Sep 3 15:48:39 2009 +++ /trunk/include/X86/CPU.h Sat Oct 24 13:14:36 2009 @@ -206,7 +206,7 @@ u32 baseLow:16; u32 baseMid:8; u32 type:5; - u32 priviledge:2; + u32 privilege:2; u32 present:1; u32 limitHigh:4; u32 granularity:4; ======================================= --- /trunk/kernel/X86/Kernel.cpp Thu Jun 25 16:28:32 2009 +++ /trunk/kernel/X86/Kernel.cpp Sat Oct 24 13:14:36 2009 @@ -102,7 +102,7 @@ gdt[USER_TSS].baseLow = ((Address) &kernelTss) & 0xffff; gdt[USER_TSS].baseMid = (((Address) &kernelTss) >> 16) & 0xff; gdt[USER_TSS].type = 9; - gdt[USER_TSS].priviledge = 0; + gdt[USER_TSS].privilege = 0; gdt[USER_TSS].present = 1; gdt[USER_TSS].limitHigh = 0; gdt[USER_TSS].granularity = 8; ======================================= --- /trunk/lib/libc/stdlib.h Sun Jun 7 13:13:55 2009 +++ /trunk/lib/libc/stdlib.h Sat Oct 24 13:14:36 2009 @@ -40,10 +40,10 @@ * the behaviour is undefined. * * @param status If the value of status is zero or EXIT_SUCCESS, an - * implementation defined form of the status successfull + * implementation defined form of the status successful * termination is returned. If the value of status is * EXIT_FAILURE, an implementation-defined form of the status - * unsuccesfull termination is returned. Otherwise the status + * unsuccesful termination is returned. Otherwise the status * is implementation-defined. * @return The exit function cannot return to its caller. */ ======================================= --- /trunk/sbin/init/Main.cpp Sun Aug 2 04:35:57 2009 +++ /trunk/sbin/init/Main.cpp Sat Oct 24 13:14:36 2009 @@ -30,7 +30,7 @@ const char *av[] = { "/bin/sh/sh", "/etc/rc", ZERO }; /* - * TODO: give up all priviledges. + * TODO: give up all privileges. */ /* Execute the run commands file. */ ======================================= --- /trunk/srv/filesystem/FileStorage.h Sat Sep 5 02:04:56 2009 +++ /trunk/srv/filesystem/FileStorage.h Sat Oct 24 13:14:36 2009 @@ -54,7 +54,7 @@ } /** - * Read a contigeous set of data. + * Read a contiguous set of data. * @param offset Offset to start reading from. * @param buffer Output buffer. * @param size Number of bytes to copied. @@ -75,7 +75,7 @@ } /** - * Write a contigeous set of data. + * Write a contiguous set of data. * @param offset Offset to start writing to. * @param buffer Input buffer. * @param size Number of bytes to written. ======================================= --- /trunk/srv/filesystem/FileSystemPath.h Sun Aug 2 05:15:29 2009 +++ /trunk/srv/filesystem/FileSystemPath.h Sat Oct 24 13:14:36 2009 @@ -173,7 +173,7 @@ } /** - * Returns a List of seperate path elements. + * Returns a List of separate path elements. * @return Pointer to a List. */ List<String> * split() ======================================= --- /trunk/srv/filesystem/Storage.h Sun Aug 2 05:14:52 2009 +++ /trunk/srv/filesystem/Storage.h Sat Oct 24 13:14:36 2009 @@ -41,7 +41,7 @@ virtual ~Storage() {} /** - * Read a contigeous set of data. + * Read a contiguous set of data. * @param offset Offset to start reading from. * @param buffer Output buffer. * @param size Number of bytes to copied. @@ -52,7 +52,7 @@ } /** - * Write a contigeous set of data. + * Write a contiguous set of data. * @param offset Offset to start writing to. * @param buffer Input buffer. * @param size Number of bytes to written. ======================================= --- /trunk/srv/filesystem/ext2/Ext2Create.h Fri Jul 3 05:17:23 2009 +++ /trunk/srv/filesystem/ext2/Ext2Create.h Sat Oct 24 13:14:36 2009 @@ -87,7 +87,7 @@ /** * Creates a new Extended 2 FileSystem. - * @return EXIT_SUCCESS if successfull and EXIT_FAILURE otherwise. + * @return EXIT_SUCCESS if successful and EXIT_FAILURE otherwise. */ int create(); @@ -101,7 +101,7 @@ /** * Writes the final image to disk. - * @return EXIT_SUCCESS if successfull and EXIT_FAILURE otherwise. + * @return EXIT_SUCCESS if successful and EXIT_FAILURE otherwise. */ int writeImage(); ======================================= --- /trunk/srv/filesystem/ext2/Ext2FileSystem.cpp Sat Sep 5 02:04:56 2009 +++ /trunk/srv/filesystem/ext2/Ext2FileSystem.cpp Sat Oct 24 13:14:36 2009 @@ -206,7 +206,7 @@ { depth = 2; } - /* Tripple indirect blocks. */ + /* Triple indirect blocks. */ else depth = 3; ======================================= --- /trunk/srv/filesystem/linn/LinnCreate.cpp Fri Jul 10 11:32:07 2009 +++ /trunk/srv/filesystem/linn/LinnCreate.cpp Sat Oct 24 13:14:36 2009 @@ -270,7 +270,7 @@ LINN_INODE_NUM_BLOCKS(super, inode) - LINN_INODE_DIR_BLOCKS, blockNr, 2); } - /* Insert the blck (tripple indirect). */ + /* Insert the blck (triple indirect). */ else if (LINN_INODE_NUM_BLOCKS(super, inode) < LINN_INODE_DIR_BLOCKS + (LINN_SUPER_NUM_PTRS(super) * LINN_SUPER_NUM_PTRS(super) * ======================================= --- /trunk/srv/filesystem/linn/LinnCreate.h Fri Jul 10 10:00:26 2009 +++ /trunk/srv/filesystem/linn/LinnCreate.h Sat Oct 24 13:14:36 2009 @@ -48,9 +48,9 @@ #define BLOCKPTR(type,nr) (type *)(blocks + (super->blockSize * (nr))) /** - * Retrieve a given number of free contigeous blocks. + * Retrieve a given number of free contiguous blocks. * @param sb LinnSuperBlock pointer.- * @return Block number of the first block in the contigeous array of blocks. + * @return Block number of the first block in the contiguous array of blocks.
*/ #define BLOCKS(sb,count) \ ({ \ @@ -89,7 +89,7 @@ * @param blockSize The size of each block in the new filesystem. * @param blockNum The maximum number of blocks in the new filesystem. * @param inodeNum Number of inodes to allocate. - * @return EXIT_SUCCESS if successfull and EXIT_FAILURE otherwise. + * @return EXIT_SUCCESS if successful and EXIT_FAILURE otherwise. */ int create(Size blockSize, Size blockNum, Size inodeNum); @@ -201,7 +201,7 @@ /** * Writes the final image to disk. - * @return EXIT_SUCCESS if successfull and EXIT_FAILURE otherwise. + * @return EXIT_SUCCESS if successful and EXIT_FAILURE otherwise. */ int writeImage(); ======================================= --- /trunk/srv/filesystem/linn/LinnDirectory.h Fri Aug 7 05:42:20 2009 +++ /trunk/srv/filesystem/linn/LinnDirectory.h Sat Oct 24 13:14:36 2009 @@ -85,7 +85,7 @@ * Retrieve a directory entry. * @param dent LinnDirectoryEntry buffer pointer. * @param name Unique name of the entry. - * @return True if successfull, false otherwise. + * @return True if successful, false otherwise. */ bool getLinnDirectoryEntry(LinnDirectoryEntry *dent, const char *name); ======================================= --- /trunk/srv/filesystem/linn/LinnFileSystem.cpp Sat Sep 5 02:04:56 2009 +++ /trunk/srv/filesystem/linn/LinnFileSystem.cpp Sat Oct 24 13:14:36 2009 @@ -199,7 +199,7 @@ { depth = 2; } - /* Tripple indirect blocks. */ + /* Triple indirect blocks. */ else depth = 3;