Re: [RFC, PATCH 4/24] i386 Vmi inline implementation

Pavel Machek
2006-03-15T22:52:38Z

On Po 13-03-06 10:02:02, Zachary Amsden wrote:
> Macros to use VMI calls from assembly and C languages are introduced.
> The macros are quite complex, but the end result is rather impressive.
> The result is that when compiling a VMI kernel, the native code is
> emitted inline, with no function call overhead, and some wiggle room
> for register allocation. The hypervisor compatibility code is emitted
> out of line into a separate section, and patched dynamically during the
> process of preparing the kernel for boot. In the end, this task is
> envisioned as being done by a loader agent outside of the kernel proper,
> allowing for a completely transparent kernel start of day.

We already do runtime patching for SMP vs. UP, could you use same
infrastructure? I do not want VMI-specific grub.
Pavel

--
42: i < SampleTable.Length;