Re: [RFC, PATCH 5/24] i386 Vmi code patching

From: Chris Wright
Date: Fri Mar 17 2006 - 16:10:01 EST


* Joshua LeVasseur (jtl@xxxxxxxxxx) wrote:
> extern "C" void
> afterburn_cpu_write_gdt32_ext( burn_clobbers_frame_t *frame )
> {
> get_cpu()->gdtr = *(dtr_t *)frame->eax;
> }

What is this get_cpu()? Accessing data structure that's avail. in ROM
and shared with hypervisor...could you elaborate a bit here?

thanks,
-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/