search for: asm_read_ivr

Displaying 2 results from an estimated 2 matches for "asm_read_ivr".

2008 Feb 18
2
paravirt_ops support in IA64
...pile to generate > dual/multiple IVT table. I.e. we replace those primitive ops (sensitive > 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...
2008 Feb 18
2
paravirt_ops support in IA64
...pile to generate > dual/multiple IVT table. I.e. we replace those primitive ops (sensitive > 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...