search for: __asm_mach_apicops_h

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

2007 Apr 18
0
[RFC, PATCH 15/24] i386 Vmi apic header
...* along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * Send feedback to arai@vmware.com + * + */ + +/* + * VMI implementation for basic functions accessing APICs. Calls into VMI + * to perform operations. + */ + +#ifndef __ASM_MACH_APICOPS_H +#define __ASM_MACH_APICOPS_H + +#ifdef CONFIG_X86_LOCAL_APIC +#include <vmi.h> + +static inline void apic_write(unsigned long reg, unsigned long value) +{ + void *addr = (void *)(APIC_BASE + reg); + vmi_wrap_call( + APICWrite, "movl %1, (%0)", + VMI_NO_OUTPUT, + 2, XCONC(...
2007 Apr 18
0
[RFC, PATCH 15/24] i386 Vmi apic header
...* along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * Send feedback to arai@vmware.com + * + */ + +/* + * VMI implementation for basic functions accessing APICs. Calls into VMI + * to perform operations. + */ + +#ifndef __ASM_MACH_APICOPS_H +#define __ASM_MACH_APICOPS_H + +#ifdef CONFIG_X86_LOCAL_APIC +#include <vmi.h> + +static inline void apic_write(unsigned long reg, unsigned long value) +{ + void *addr = (void *)(APIC_BASE + reg); + vmi_wrap_call( + APICWrite, "movl %1, (%0)", + VMI_NO_OUTPUT, + 2, XCONC(...