Displaying 2 results from an estimated 2 matches for "xen_readivr".
2008 Feb 18
2
paravirt_ops support in IA64
...> instructions) with a MACRO which uses compile option for different
> hypervisor type.
> The pseudo code of the MACRO could be: (take read CR.IVR
> as example)
>
> AltA:
> #define ASM_READ_IVR /* read IVR to GR24 */
> #ifdef XEN
> breg1 = return address
> br xen_readivr
> #else /* native
> mov GR24=CR.IVR;
> #endif
> Or
> AltB:
> #define ASM_READ_IVR /* read IVR to GR24 */
> #ifdef XEN
> in place code of function xen_readivr
> #else /* native
> mov GR24=CR.IVR;
> #endif
>
> From maintenance effort point of view, it...
2008 Feb 18
2
paravirt_ops support in IA64
...> instructions) with a MACRO which uses compile option for different
> hypervisor type.
> The pseudo code of the MACRO could be: (take read CR.IVR
> as example)
>
> AltA:
> #define ASM_READ_IVR /* read IVR to GR24 */
> #ifdef XEN
> breg1 = return address
> br xen_readivr
> #else /* native
> mov GR24=CR.IVR;
> #endif
> Or
> AltB:
> #define ASM_READ_IVR /* read IVR to GR24 */
> #ifdef XEN
> in place code of function xen_readivr
> #else /* native
> mov GR24=CR.IVR;
> #endif
>
> From maintenance effort point of view, it...