|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-ia64-devel
[Xen-ia64-devel] [PATCH]: makes b2-b5 fixed registers
 
Hi,
Currently most registers are either fixed (eg: f12-f127) or saved on entry
in Xen (see minstate.h).
There are however a few exceptions: ec, lc, b2-b5.  These registers are
available by the compiler (but not scratch) and saved by save_switch_stack.
These registers can't be easily written to vcpu_guest_context (unless we
want to use unwind) which makes implementation of debugger impossible.
I will work on extending vcpu_guest_context soon.
During my preliminary work I remaked using objdump that b2-b5 were never used
by C code.  Therefore I can mark them as fixed without preformance impact.
Tristan.
 
 
bregs.diff 
Description: Text document 
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-ia64-devel] [PATCH]: makes b2-b5 fixed registers,
Tristan Gingold <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |