[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] [xenppc-unstable] [ppc] revert to earlier get_register() error code, and comment it.



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 1f77aa2dc3c886e6f0dd154e6ef15f0f26cafe62
# Parent  4cab8bf721101f377a459a1b8ac7da6c6e241a52
[ppc] revert to earlier get_register() error code, and comment it.
"x" is undocumented but correct.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 tools/gpproxy/powerpc.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 4cab8bf72110 -r 1f77aa2dc3c8 tools/gpproxy/powerpc.py
--- a/tools/gpproxy/powerpc.py  Thu Jul 06 15:35:47 2006 -0500
+++ b/tools/gpproxy/powerpc.py  Thu Jul 06 16:55:24 2006 -0500
@@ -42,14 +42,14 @@ class PowerPC:
                try:
                        regname = REGS[num]
                except IndexError:
-                       return "E16" # unfetchable
+                       return "x" # undocumented but proper "unfetchable" 
response
                return self.target.get_register(regname)
 
        def set_register(self, num, val):
                try:
                        regname = REGS[num]
                except IndexError:
-                       return "E16" # unfetchable
+                       return "x" # undocumented but proper "unfetchable" 
response
                self.target.set_register(regname, val)
                return "OK"
 

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.