[syslinux] Accessing Memdisk from Protected Mode

H. Peter Anvin hpa at zytor.com
Thu Aug 14 09:57:04 PDT 2008


Loginov Alexander wrote:
> Hello,
> 
> I would like to access Memdisk (as a RAM disk) from my application in
> pure protected mode. "Pure" means that I don't' want to have any
> switches to real mode even if these switches are automatically handled
> by Memdisk interrupt stubs. The reason is that my application is running
> on top of Virtual Machine Monitor (VMM). This virtualization layer is
> quite simple and doesn't tolerate any transitions to real mode.
> 

This is quite possible -- after all, MEMDISK is really nothing other 
than a chunk of memory.

What you want to do is stash away the MEMDISK info structure pointer 
immediately after boot, while still in real mode.  That structure 
contains the location and size of the MEMDISK in high memory.

	-hpa




More information about the Syslinux mailing list