[freenos] [freenos commit] r161 - Renamed the typedef for enum Operation to the correct name,

  • From: codesite-noreply@xxxxxxxxxx
  • To: freenos@xxxxxxxxxxxxx
  • Date: Sun, 28 Jun 2009 15:36:24 +0000

Author: nieklinnenbank
Date: Sun Jun 28 06:55:59 2009
New Revision: 161

Modified:
   trunk/include/API/IPCMessage.h
   trunk/include/API/VMCopy.h
   trunk/include/API/VMCtl.h
   trunk/include/kernel/API.h

Log:
Renamed the typedef for enum Operation to the correct name,
which is 'Operation' instead of 'Action'.


Modified: trunk/include/API/IPCMessage.h
==============================================================================
--- trunk/include/API/IPCMessage.h      (original)
+++ trunk/include/API/IPCMessage.h      Sun Jun 28 06:55:59 2009
@@ -51,7 +51,7 @@
  * @param sz Size of message.
  * @return Zero on success and error code on failure.
  */
-inline Error IPCMessage(ProcessID proc, Action action, Message *msg, Size sz) +inline Error IPCMessage(ProcessID proc, Operation action, Message *msg, Size sz)
 {
     return trapKernel4(IPCMESSAGE, proc, action, (ulong) msg, sz);
 }
@@ -104,7 +104,7 @@
         * @param action Determines the action to perform.
         * @param sz Size of message.
         */
-       Error ipc(ProcessID pid, Action action, Size sz)
+       Error ipc(ProcessID pid, Operation action, Size sz)
        {
            return IPCMessage(pid, action, this, sz);
        }

Modified: trunk/include/API/VMCopy.h
==============================================================================
--- trunk/include/API/VMCopy.h  (original)
+++ trunk/include/API/VMCopy.h  Sun Jun 28 06:55:59 2009
@@ -39,7 +39,7 @@
  * @param sz Amount of memory to copy.
* @return Total number of bytes copied on success and error code on failure.
  */
-inline Error VMCopy(ProcessID proc, Action how, Address ours,
+inline Error VMCopy(ProcessID proc, Operation how, Address ours,
                                    Address theirs, Size sz)
 {
     return trapKernel5(VMCOPY, proc, how, ours, theirs, sz);

Modified: trunk/include/API/VMCtl.h
==============================================================================
--- trunk/include/API/VMCtl.h   (original)
+++ trunk/include/API/VMCtl.h   Sun Jun 28 06:55:59 2009
@@ -41,7 +41,7 @@
* @param prot Protection bits. Set PAGE_PRESENT to allocate, ~PAGE_PRESENT to release.
  * @return Zero on success or error code on failure.
  */
-inline Error VMCtl(Action action, ProcessID proc, Address paddr,
+inline Error VMCtl(Operation action, ProcessID proc, Address paddr,
                   Address vaddr, ulong prot = PAGE_PRESENT|PAGE_USER|PAGE_RW)
 {
     return trapKernel5(VMCTL, action, proc, paddr, vaddr, prot);

Modified: trunk/include/kernel/API.h
==============================================================================
--- trunk/include/kernel/API.h  (original)
+++ trunk/include/kernel/API.h  Sun Jun 28 06:55:59 2009
@@ -63,7 +63,7 @@
     Lookup      = 8,
     Access     = 9,
 }
-Action;
+Operation;

 /** List of known APIHandler functions. */
 extern Array<APIHandler> apis;

Other related posts:

  • » [freenos] [freenos commit] r161 - Renamed the typedef for enum Operation to the correct name, - codesite-noreply