[SCM] master: Eliminate a getFIXME call (Split LinuxPowerPCSyscall into 32-bit and 64-bit).

cagney@sourceware.org cagney@sourceware.org
Tue Dec 4 16:56:00 GMT 2007


The branch, master has been updated
       via  0117109d888c8dc04b868549766f00255b5f94c5 (commit)
      from  0d40ae70b60b46ed1b8cb11dbcdc65c94d673c18 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 0117109d888c8dc04b868549766f00255b5f94c5
Author: Andrew Cagney <cagney@redhat.com>
Date:   Tue Dec 4 11:55:48 2007 -0500

    Eliminate a getFIXME call (Split LinuxPowerPCSyscall into 32-bit and 64-bit).
    
    frysk-core/frysk/proc/ChangeLog
    2007-12-04  Andrew Cagney  <cagney@redhat.com>
    
    	* LinuxPowerPCSyscall.java: Delete.
    	* LinuxPPC32Syscall.java: New; based on LinuxPowerPCSyscall.java.
    	* LinuxPPC64Syscall.java: New; based on LinuxPowerPCSyscall.java.
    	* LinuxPPC64.java: Update.
    	* LinuxPPC32On64.java: Update.
    	* TestSyscallsWithAudit.java: Update.
    	* TestIsa.java: Update.
    	* IsaFactory.java: Update.
    	* IsaPowerPC.java (getSyscallList()): Delete; move to sub classes.
    	(getUnknownSyscalls()): Ditto.
    	(sysCallByName(String)): Ditto.
    	* LinuxPPC32.java: Rename LinuxPPC.java; update.
    	* LinuxPPC64.java: Update.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/proc/ChangeLog                    |   14 +
 frysk-core/frysk/proc/IsaFactory.java              |   23 +-
 frysk-core/frysk/proc/IsaPowerPC.java              |   30 --
 .../frysk/proc/{LinuxPPC.java => LinuxPPC32.java}  |   48 ++-
 frysk-core/frysk/proc/LinuxPPC32On64.java          |   13 +-
 frysk-core/frysk/proc/LinuxPPC32Syscall.java       |  522 +++++++++++++++++++
 frysk-core/frysk/proc/LinuxPPC64.java              |   29 +-
 frysk-core/frysk/proc/LinuxPPC64Syscall.java       |  528 ++++++++++++++++++++
 frysk-core/frysk/proc/LinuxPowerPCSyscall.java     |  522 -------------------
 frysk-core/frysk/proc/TestIsa.java                 |    2 +-
 frysk-core/frysk/proc/TestSyscallsWithAudit.java   |    9 +-
 11 files changed, 1150 insertions(+), 590 deletions(-)
 rename frysk-core/frysk/proc/{LinuxPPC.java => LinuxPPC32.java} (73%)
 create mode 100644 frysk-core/frysk/proc/LinuxPPC32Syscall.java
 create mode 100644 frysk-core/frysk/proc/LinuxPPC64Syscall.java
 delete mode 100644 frysk-core/frysk/proc/LinuxPowerPCSyscall.java

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/ChangeLog b/frysk-core/frysk/proc/ChangeLog
index df758dc..6dba826 100644
--- a/frysk-core/frysk/proc/ChangeLog
+++ b/frysk-core/frysk/proc/ChangeLog
@@ -1,5 +1,19 @@
 2007-12-04  Andrew Cagney  <cagney@redhat.com>
 
+	* LinuxPowerPCSyscall.java: Delete.
+	* LinuxPPC32Syscall.java: New; based on LinuxPowerPCSyscall.java.
+	* LinuxPPC64Syscall.java: New; based on LinuxPowerPCSyscall.java.
+	* LinuxPPC64.java: Update.
+	* LinuxPPC32On64.java: Update.
+	* TestSyscallsWithAudit.java: Update.
+	* TestIsa.java: Update.
+	* IsaFactory.java: Update.
+	* IsaPowerPC.java (getSyscallList()): Delete; move to sub classes.
+	(getUnknownSyscalls()): Ditto.
+	(sysCallByName(String)): Ditto.
+	* LinuxPPC32.java: Rename LinuxPPC.java; update.
+	* LinuxPPC64.java: Update.
+
 	* IndirectBankRegisterMap.java (add(String,long)): Delete.
 
 2007-12-03  Andrew Cagney  <cagney@redhat.com>
diff --git a/frysk-core/frysk/proc/IsaFactory.java b/frysk-core/frysk/proc/IsaFactory.java
index 1ec6e94..ec73600 100644
--- a/frysk-core/frysk/proc/IsaFactory.java
+++ b/frysk-core/frysk/proc/IsaFactory.java
@@ -85,7 +85,7 @@ public class IsaFactory
     else
       {
 	isaHash.put(Integer.valueOf(ElfEMachine.EM_PPC),
-		    LinuxPPC.isaSingleton());
+		    LinuxPPC32.isaSingleton());
       }
   }
   
@@ -152,17 +152,16 @@ public class IsaFactory
       // tries to be a bit clever. Clobber it here for two cases.
       // XXX: This needs to be made for elegant.
       Isa isa = null;
-      switch (machineType)
-	  {
-	  case ElfEMachine.EM_386:
-	      isa = LinuxIa32.isaSingleton();
-	      break;
-	  case ElfEMachine.EM_PPC:
-	      isa = LinuxPPC.isaSingleton();
-	      break;
-	  default:
-	      isa =  (Isa)isaHash.get(Integer.valueOf(machineType));
-	  }
+      switch (machineType) {
+      case ElfEMachine.EM_386:
+	  isa = LinuxIa32.isaSingleton();
+	  break;
+      case ElfEMachine.EM_PPC:
+	  isa = LinuxPPC32.isaSingleton();
+	  break;
+      default:
+	  isa =  (Isa)isaHash.get(Integer.valueOf(machineType));
+      }
       return isa;
   }
 
diff --git a/frysk-core/frysk/proc/IsaPowerPC.java b/frysk-core/frysk/proc/IsaPowerPC.java
index a9f3998..46537bb 100644
--- a/frysk-core/frysk/proc/IsaPowerPC.java
+++ b/frysk-core/frysk/proc/IsaPowerPC.java
@@ -39,7 +39,6 @@
 // exception.
 package frysk.proc;
 
-import java.util.HashMap;
 import java.util.LinkedList;
 import java.util.List;
 import inua.eio.ByteBuffer;
@@ -149,35 +148,6 @@ abstract class IsaPowerPC implements Isa {
     return false;
   }
 
-  public Syscall[] getSyscallList ()
-  {
-    return LinuxPowerPCSyscall.syscallList;
-  }
-
-  public HashMap getUnknownSyscalls ()
-  {
-    return LinuxPowerPCSyscall.unknownSyscalls;
-  }
-
-  public Syscall syscallByName (String name)
-  {
-    Syscall syscall;
-
-    syscall = Syscall.iterateSyscallByName (name, LinuxPowerPCSyscall.syscallList);
-    if (syscall != null)
-      return syscall;
-    
-    syscall = Syscall.iterateSyscallByName (name, LinuxPowerPCSyscall.socketSubcallList);
-    if (syscall != null)
-      return syscall;
-    
-    syscall = Syscall.iterateSyscallByName (name, LinuxPowerPCSyscall.ipcSubcallList);
-    if (syscall != null)
-      return syscall;
-
-    return null;
-  }
-
   public ByteBuffer[] getRegisterBankBuffers(int pid) 
   {
       ByteBuffer registers = new AddressSpaceByteBuffer(pid, AddressSpace.USR);
diff --git a/frysk-core/frysk/proc/LinuxPPC.java b/frysk-core/frysk/proc/LinuxPPC32.java
similarity index 73%
rename from frysk-core/frysk/proc/LinuxPPC.java
rename to frysk-core/frysk/proc/LinuxPPC32.java
index 9c2a103..2a31ddb 100644
--- a/frysk-core/frysk/proc/LinuxPPC.java
+++ b/frysk-core/frysk/proc/LinuxPPC32.java
@@ -45,22 +45,20 @@ import java.util.logging.Level;
 import java.util.logging.Logger;
 import frysk.isa.PPC32Registers;
 
-class LinuxPPC extends IsaPowerPC implements SyscallEventDecoder {
+class LinuxPPC32 extends IsaPowerPC implements SyscallEventDecoder {
 
-    LinuxPPC() {
+    LinuxPPC32() {
 	//In Power32 the PC will be in Link Register
 	super(PPC32Registers.LR);
     }
 
-  private static Logger logger = Logger.getLogger(ProcLogger.LOGGER_ID);
-  private static LinuxPPC isa;
-
-  static LinuxPPC isaSingleton ()
-  {
-    if (isa == null)
-      isa = new LinuxPPC ();
-    return isa;
-  }
+    private static Logger logger = Logger.getLogger(ProcLogger.LOGGER_ID);
+    private static LinuxPPC32 isa;
+    static LinuxPPC32 isaSingleton () {
+	if (isa == null)
+	    isa = new LinuxPPC32 ();
+	return isa;
+    }
 
   // This is used to keep track of syscalls whose number we do not
   // know.
@@ -76,10 +74,36 @@ class LinuxPPC extends IsaPowerPC implements SyscallEventDecoder {
 		    }
 		    public Syscall getSyscall(Task task) {
 			int number = this.number(task);
-			return LinuxPowerPCSyscall.syscallByNum (task, number);
+			return LinuxPPC32Syscall.syscallByNum (task, number);
 		    }
 		};
 	return info;
     }
 
+    public Syscall[] getSyscallList () {
+	return LinuxPPC32Syscall.syscallList;
+    }
+
+    public HashMap getUnknownSyscalls () {
+	return LinuxPPC32Syscall.unknownSyscalls;
+    }
+
+    public Syscall syscallByName (String name) {
+	Syscall syscall;
+
+	syscall = Syscall.iterateSyscallByName (name, LinuxPPC32Syscall.syscallList);
+	if (syscall != null)
+	    return syscall;
+    
+	syscall = Syscall.iterateSyscallByName (name, LinuxPPC32Syscall.socketSubcallList);
+	if (syscall != null)
+	    return syscall;
+    
+	syscall = Syscall.iterateSyscallByName (name, LinuxPPC32Syscall.ipcSubcallList);
+	if (syscall != null)
+	    return syscall;
+
+	return null;
+    }
+
 }
diff --git a/frysk-core/frysk/proc/LinuxPPC32On64.java b/frysk-core/frysk/proc/LinuxPPC32On64.java
index 10513a2..7abd223 100644
--- a/frysk-core/frysk/proc/LinuxPPC32On64.java
+++ b/frysk-core/frysk/proc/LinuxPPC32On64.java
@@ -40,16 +40,15 @@
 package frysk.proc;
 
 class LinuxPPC32On64
-  extends LinuxPPC
+  extends LinuxPPC32
 {
   private static LinuxPPC32On64 isa;
 
-  static LinuxPPC isaSingleton ()
-  {
-    if (isa == null)
-      isa = new LinuxPPC32On64 ();
-    return isa;
-  }
+    static LinuxPPC32 isaSingleton () {
+	if (isa == null)
+	    isa = new LinuxPPC32On64 ();
+	return isa;
+    }
 
     public BankRegister getRegisterByName(String name) {
 	return PPCBankRegisters.PPC32BE_ON_PPC64BE.get(name);
diff --git a/frysk-core/frysk/proc/LinuxPPC32Syscall.java b/frysk-core/frysk/proc/LinuxPPC32Syscall.java
new file mode 100644
index 0000000..10eef01
--- /dev/null
+++ b/frysk-core/frysk/proc/LinuxPPC32Syscall.java
@@ -0,0 +1,522 @@
+// This file is part of the program FRYSK.
+//
+// Copyright 2006 IBM Corp.
+// Copyright 2007 Red Hat Inc.
+//
+// FRYSK is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by
+// the Free Software Foundation; version 2 of the License.
+//
+// FRYSK is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with FRYSK; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+//
+// In addition, as a special exception, Red Hat, Inc. gives You the
+// additional right to link the code of FRYSK with code not covered
+// under the GNU General Public License ("Non-GPL Code") and to
+// distribute linked combinations including the two, subject to the
+// limitations in this paragraph. Non-GPL Code permitted under this
+// exception must only link to the code of FRYSK through those well
+// defined interfaces identified in the file named EXCEPTION found in
+// the source code files (the "Approved Interfaces"). The files of
+// Non-GPL Code may instantiate templates or use macros or inline
+// functions from the Approved Interfaces without causing the
+// resulting work to be covered by the GNU General Public
+// License. Only Red Hat, Inc. may make changes or additions to the
+// list of Approved Interfaces. You must obey the GNU General Public
+// License in all respects for all of the FRYSK code and other code
+// used in conjunction with FRYSK except the Non-GPL Code covered by
+// this exception. If you modify this file, you may extend this
+// exception to your version of the file, but you are not obligated to
+// do so. If you do not wish to provide this exception without
+// modification, you must delete this exception statement from your
+// version and license this file solely under the GPL without
+// exception.
+
+package frysk.proc;
+
+import java.util.HashMap;
+import frysk.isa.PPC32Registers;
+
+/**
+ * 32-bit PowerPC system calls.
+ *
+ * XXX: There is much duplication between this and LinuxPPC64Syscall.
+ */
+
+public class LinuxPPC32Syscall {
+    private static final int SOCKET_NUM = 102;
+    private static final int IPC_NUM = 117;
+
+    // This is used to keep track of syscalls whose number we do not
+    // know.
+    static final HashMap unknownSyscalls = new HashMap();
+
+    static private class PowerPCSyscall extends Syscall {
+	PowerPCSyscall(String name, int number, int numArgs, 
+		       String argList, boolean noreturn) {
+	    super(name, number, numArgs, argList, noreturn);
+	}
+	PowerPCSyscall(String name, int number, int numArgs,
+		       String argList) {
+	    super(name, number, numArgs, argList);
+	}      
+	PowerPCSyscall(String name, int number, int numArgs) {
+	    super(name, number, numArgs);
+	}
+	PowerPCSyscall(String name, int number) {
+	    super(name, number);
+	}
+	PowerPCSyscall(int number) {
+	    super(number);
+	}
+
+	public long getArguments(Task task, int n) {
+	    switch (n) {
+	    case 0:
+		return task.getRegister(PPC32Registers.GPR0);
+	    case 1:
+		return task.getRegister(PPC32Registers.ORIGR3);
+	    case 2:
+		return task.getRegister(PPC32Registers.GPR4);
+	    case 3:
+		return task.getRegister(PPC32Registers.GPR5);
+	    case 4:
+		return task.getRegister(PPC32Registers.GPR6);
+	    case 5:
+		return task.getRegister(PPC32Registers.GPR7);
+	    case 6:
+		return task.getRegister(PPC32Registers.GPR8);
+	    default:
+		throw new RuntimeException("unknown syscall arg");
+	    }
+	}
+	public long getReturnCode(Task task) {
+	    int flag = (int) task.getRegister(PPC32Registers.CCR);
+	  
+	    if ((flag & 0x10000000) != 0)
+		return -task.getRegister(PPC32Registers.GPR3);
+	    else
+		return task.getRegister(PPC32Registers.GPR3);
+	}
+    }
+
+    static Syscall[] syscallList = {
+	new PowerPCSyscall(0),
+	new PowerPCSyscall("exit", 1, 1),
+	new PowerPCSyscall("fork", 2, 0, "i: "),
+	new PowerPCSyscall("read", 3, 3, "i:ibn "),
+	new PowerPCSyscall("write", 4, 3, "i:isn "),
+	new PowerPCSyscall("open", 5, 3, "i:siv "),
+	new PowerPCSyscall("close", 6, 1, "i:i "),
+	new PowerPCSyscall("waitpid", 7, 3, "i:ipi "),
+	new PowerPCSyscall("creat", 8, 2, "i:sv"),
+	new PowerPCSyscall("link", 9, 2, "i:ss "),
+	new PowerPCSyscall("unlink", 10, 1, "i:s "),
+	new PowerPCSyscall("execve", 11, 3, "i:ppp "),
+	new PowerPCSyscall("chdir", 12, 1, "i:s "),
+	new PowerPCSyscall("time", 13, 1, "i:P "),
+	new PowerPCSyscall("mknod", 14),
+	new PowerPCSyscall("chmod", 15, 2, "i:si "),
+	new PowerPCSyscall("lchown", 16, 3, "i:sii "),
+	new PowerPCSyscall("break", 17 ),
+	new PowerPCSyscall("oldstat", 18),
+	new PowerPCSyscall("lseek", 19, 3, "i:iii "),
+	new PowerPCSyscall("getpid", 20, 0, "i: "),
+	new PowerPCSyscall("mount", 21, 5, "i:sssip "),
+	new PowerPCSyscall("umount", 22, 1, "i:s "),
+	new PowerPCSyscall("setuid", 23, 1, "i:i "),
+	new PowerPCSyscall("getuid", 24, 0, "i: "),
+	new PowerPCSyscall("stime", 25, 1, "i:p "),
+	new PowerPCSyscall("ptrace", 26, 4, "i:iiii "),
+	new PowerPCSyscall("alarm", 27, 1, "i:i "),
+	new PowerPCSyscall("oldfstat", 28),
+	new PowerPCSyscall("pause", 29, 0, "i: "),
+	new PowerPCSyscall("utime", 30, 2, "i:sP "),
+	new PowerPCSyscall("stty", 31),
+	new PowerPCSyscall("gtty", 32),
+	new PowerPCSyscall("access", 33, 2, "i:si "),
+	new PowerPCSyscall("nice", 34, 1, "i:i "),
+	new PowerPCSyscall("ftime", 35, 1, "i:p "),
+	new PowerPCSyscall("sync", 36, 0, "i: "),
+	new PowerPCSyscall("kill", 37, 2, "i:ii "),
+	new PowerPCSyscall("rename", 38, 2, "i:ss "),
+	new PowerPCSyscall("mkdir", 39, 2, "i:si "),
+	new PowerPCSyscall("rmdir", 40, 1, "i:s "),
+	new PowerPCSyscall("dup", 41, 1, "i:i "),
+	new PowerPCSyscall("pipe", 42, 1, "i:f "),
+	new PowerPCSyscall("times", 43, 1, "i:p "),
+	new PowerPCSyscall("prof", 44),
+	new PowerPCSyscall("brk", 45, 1, "i:p "),
+	new PowerPCSyscall("setgid", 46, 1, "i:i "),
+	new PowerPCSyscall("getgid", 47, 0, "i: "),
+	new PowerPCSyscall("signal", 48, 2, "i:ii "),
+	new PowerPCSyscall("geteuid", 49, 0, "i: "),
+	new PowerPCSyscall("getegid", 50, 0, "i: "),
+	new PowerPCSyscall("acct", 51, 1, "i:S "),
+	new PowerPCSyscall("umount2", 52, 2, "i:si "),
+	new PowerPCSyscall("lock", 53),
+	new PowerPCSyscall("ioctl", 54, 3, "i:iiI "),
+	new PowerPCSyscall("fcntl", 55, 3, "i:iiF "),
+	new PowerPCSyscall("mpx", 56),
+	new PowerPCSyscall("setpgid", 57, 2, "i:ii "),
+	new PowerPCSyscall("ulimit", 58, 2, "i:ii "),
+	new PowerPCSyscall("oldolduname", 59),
+	new PowerPCSyscall("umask", 60, 1, "i:i "),
+	new PowerPCSyscall("chroot", 61, 1, "i:s "),
+	new PowerPCSyscall("ustat", 62, 2, "i:ip "),
+	new PowerPCSyscall("dup2", 63, 2, "i:ii "),
+	new PowerPCSyscall("getppid", 64, 0, "i: "),
+	new PowerPCSyscall("getpgrp", 65, 0, "i: "),
+	new PowerPCSyscall("setsid", 66, 0, "i: "),
+	new PowerPCSyscall("sigaction", 67, 3, "i:ipp "),
+	new PowerPCSyscall("sgetmask", 68),
+	new PowerPCSyscall("ssetmask", 69),
+	new PowerPCSyscall("setreuid", 70, 2, "i:ii "),
+	new PowerPCSyscall("setregid", 71, 2, "i:ii "),
+	new PowerPCSyscall("sigsuspend", 72, 1, "i:p "),
+	new PowerPCSyscall("sigpending", 73, 1, "i:p "),
+	new PowerPCSyscall("sethostname", 74, 2, "i:pi "),
+	new PowerPCSyscall("setrlimit", 75, 2, "i:ip "),
+	new PowerPCSyscall("getrlimit", 76, 2, "i:ip "),
+	new PowerPCSyscall("getrusage", 77, 2, "i:ip "),
+	new PowerPCSyscall("gettimeofday", 78, 2, "i:PP "),
+	new PowerPCSyscall("settimeofday", 79, 2, "i:PP "),
+	new PowerPCSyscall("getgroups", 80, 2, "i:ip "),
+	new PowerPCSyscall("setgroups", 81, 2, "i:ip "),
+	new PowerPCSyscall("select", 82, 5, "i:iPPPP "),
+	new PowerPCSyscall("symlink", 83, 2, "i:ss "),
+	new PowerPCSyscall("oldlstat", 84, 2, "i:pp "),
+	new PowerPCSyscall("readlink", 85, 3, "i:spi "),
+	new PowerPCSyscall("uselib", 86, 1, "i:s "),
+	new PowerPCSyscall("swapon", 87, 2, "i:si "),
+	new PowerPCSyscall("reboot", 88, 1, "i:i "),
+	new PowerPCSyscall("readdir", 89),
+	new PowerPCSyscall("mmap", 90, 6, "b:aniiii "),
+	new PowerPCSyscall("munmap", 91, 2, "i:ai "),
+	new PowerPCSyscall("truncate", 92, 2, "i:si "),
+	new PowerPCSyscall("ftruncate", 93, 2, "i:ii "),
+	new PowerPCSyscall("fchmod", 94, 2, "i:ii "),
+	new PowerPCSyscall("fchown", 95, 3, "i:iii "),
+	new PowerPCSyscall("getpriority", 96, 2, "i:ii "),
+	new PowerPCSyscall("setpriority", 97, 3, "i:iii "),
+	new PowerPCSyscall("profil", 98, 4, "i:piii "),
+	new PowerPCSyscall("statfs", 99, 2, "i:sp "),
+	new PowerPCSyscall("fstatfs", 100, 2, "i:ip "),
+	new PowerPCSyscall("ioperm", 101, 3, "i:iii "),
+	new PowerPCSyscall("socketcall", 102, 2, "i:ip "),
+	new PowerPCSyscall("syslog", 103),
+	new PowerPCSyscall("setitimer", 104, 3, "i:ipp "),
+	new PowerPCSyscall("getitimer", 105, 2, "i:ip "),
+	new PowerPCSyscall("stat", 106),
+	new PowerPCSyscall("lstat", 107),
+	new PowerPCSyscall("fstat", 108),
+	new PowerPCSyscall("olduname", 109),
+	new PowerPCSyscall("iopl", 110, 1, "i:i "),
+	new PowerPCSyscall("vhangup", 111, 1, "i:i "),
+	new PowerPCSyscall("idle", 112, 0, "i: "),
+	new PowerPCSyscall("vm86", 113, 1, "i:p "),
+	new PowerPCSyscall("wait4", 114, 4, "i:iWiP "),
+	new PowerPCSyscall("swapoff", 115, 1, "i:s "),
+	new PowerPCSyscall("sysinfo", 116, 1, "i:p "),
+	new PowerPCSyscall("ipc", 117, 6, "i:iiiipi "),
+	new PowerPCSyscall("fsync", 118, 1, "i:i "),
+	new PowerPCSyscall("sigreturn", 119),
+	new PowerPCSyscall("clone", 120, 2, "i:ip "),
+	new PowerPCSyscall("setdomainname", 121),
+	new PowerPCSyscall("uname", 122, 1, "i:p "),
+	new PowerPCSyscall("modify_ldt", 123, 3, "i:ipi "),
+	new PowerPCSyscall("adjtimex", 124, 1, "i:p "),
+	new PowerPCSyscall("mprotect", 125, 3, "i:aii "),
+	new PowerPCSyscall("sigprocmask", 126, 3, "i:ipp "),
+	new PowerPCSyscall("create_module", 127, 3),
+	new PowerPCSyscall("init_module", 128, 5),
+	new PowerPCSyscall("delete_module", 129, 3),
+	new PowerPCSyscall("get_kernel_syms", 130, 1, "i:p "),
+	new PowerPCSyscall("quotactl", 131, 4, "i:isip "),
+	new PowerPCSyscall("getpgid", 132, 1, "i:i "),
+	new PowerPCSyscall("fchdir", 133, 1, "i:i "),
+	new PowerPCSyscall("bdflush", 134, 2, "i:ii "),
+	new PowerPCSyscall("sysfs", 135, 1, "i:i "),
+	new PowerPCSyscall("personality", 136, 1, "i:i "),
+	new PowerPCSyscall("afs_syscall", 137),
+	new PowerPCSyscall("setfsuid", 138, 1, "i:i "),
+	new PowerPCSyscall("setfsgid", 139, 1, "i:i "),
+	new PowerPCSyscall("_llseek", 140),
+	new PowerPCSyscall("getdents", 141),
+	new PowerPCSyscall("_newselect", 142),
+	new PowerPCSyscall("flock", 143, 2, "i:ii "),
+	new PowerPCSyscall("msync", 144, 3, "i:aii "),
+	new PowerPCSyscall("readv", 145, 3, "i:ipi "),
+	new PowerPCSyscall("writev", 146, 3, "i:ipi "),
+	new PowerPCSyscall("getsid", 147, 1, "i:i "),
+	new PowerPCSyscall("fdatasync", 148, 1, "i:i "),
+	new PowerPCSyscall("_sysctl", 149),
+	new PowerPCSyscall("mlock", 150, 2, "i:bn "),
+	new PowerPCSyscall("munlock", 151, 2, "i:ai "),
+	new PowerPCSyscall("mlockall", 152, 1, "i:i "),
+	new PowerPCSyscall("munlockall", 153, 0, "i: "),
+	new PowerPCSyscall("sched_setparam", 154),
+	new PowerPCSyscall("sched_getparam", 155),
+	new PowerPCSyscall("sched_setscheduler", 156),
+	new PowerPCSyscall("sched_getscheduler", 157),
+	new PowerPCSyscall("sched_yield", 158, 0, "i: "),
+	new PowerPCSyscall("sched_get_priority_max", 159),
+	new PowerPCSyscall("sched_get_priority_min", 160),
+	new PowerPCSyscall("sched_rr_get_interval", 161),
+	new PowerPCSyscall("nanosleep", 162, 2, "i:pp "),
+	new PowerPCSyscall("mremap", 163, 4, "b:aini "),
+	new PowerPCSyscall("setresuid", 164, 3, "i:iii "),
+	new PowerPCSyscall("getresuid", 165, 3, "i:ppp "),
+	new PowerPCSyscall("query_module", 166, 5, "i:sipip "),
+	new PowerPCSyscall("poll", 167, 3, "i:pii "),


hooks/post-receive
--
frysk system monitor/debugger



More information about the Frysk-cvs mailing list