Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
authorJohn Hodge <[email protected]>
Wed, 30 Jan 2013 05:26:06 +0000 (13:26 +0800)
committerJohn Hodge <[email protected]>
Wed, 30 Jan 2013 05:26:06 +0000 (13:26 +0800)
KernelLand/Kernel/Doxyfile
KernelLand/Kernel/include/rwlock.h
KernelLand/Kernel/include/vfs.h
RunQemu

index a474dd5..afd627a 100644 (file)
@@ -581,7 +581,7 @@ INPUT_ENCODING         = UTF-8
 # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx 
 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
 
-FILE_PATTERNS          = *.c *.h
+FILE_PATTERNS          = *.c *.h *.asm
 
 # The RECURSIVE tag can be used to turn specify whether or not subdirectories 
 # should be searched for input files as well. Possible values are YES and NO. 
index e0d4207..8bd374e 100644 (file)
@@ -25,24 +25,27 @@ struct sRWLock
 };
 
 /**
- * \brief Acquire a heavy mutex
- * \param Mutex        Mutex to acquire
+ * \brief Acquire a read-write lock for reading
+ * \param Lock Lock to acquire
  * \return zero on success, -1 if terminated
  * 
- * This type of mutex checks if the mutex is avaliable, and acquires it
- * if it is. Otherwise, the current thread is added to the mutex's wait
- * queue and the thread suspends. When the holder of the mutex completes,
- * the oldest thread (top thread) on the queue is given the lock and
- * restarted.
+ * Waits until the lock is readable and the increments the reader count
  */
 extern int     RWLock_AcquireRead(tRWLock *Lock);
 
+/**
+ * \brief Acquire a read-write lock for writing
+ * \param Lock Lock to acquire
+ * \return zero on success, -1 if terminated
+ *
+ * Waits until there are no writers, flags all readers to wait, then acquires the lock.
+ */
 extern int     RWLock_AcquireWrite(tRWLock *Lock);
 
 /**
- * \brief Release a held mutex
- * \param Mutex        Mutex to release
- * \note Releasing a non-held mutex has no effect
+ * \brief Release a held rw lock
+ * \param Lock Lock to release
+ * \note Releasing a non-held lock has no effect
  */
 extern void    RWLock_Release(tRWLock *Lock);
 
index 59824e2..f8532ed 100644 (file)
@@ -322,7 +322,7 @@ struct sVFS_NodeType
         * \param Node  Pointer to this node (directory)
         * \param NewName       Name for the new link
         * \param Child Node to create a new link to
-        * \retur Zeron on success, non-zero on error (see errno.h)
+        * \return Zero on success, non-zero on error (see errno.h)
         */
         int    (*Link)(struct sVFS_Node *Node, const char *NewName, struct sVFS_Node *Child);
         
diff --git a/RunQemu b/RunQemu
index b73a9f3..db5306a 100755 (executable)
--- a/RunQemu
+++ b/RunQemu
@@ -80,7 +80,7 @@ fi
 #      qemu-system-x86_64 $QEMU_PARAMS -serial stdio | tee QemuLog.txt
 #echo $QEMU $BOOTOPT $QEMU_PARAMS
 if [ "x$_NOGRAPHIC" = "xyes" ] ; then
-       eval $QEMU $BOOTOPT $QEMU_PARAMS -nographic
+       eval $QEMU $BOOTOPT $QEMU_PARAMS -nographic | tee QemuLog.txt
        exit
 fi
 

UCC git Repository :: git.ucc.asn.au