How to implement memory mapping between protected mode and real mode?
I had recorded which OS the user selected on the menu and displayed it
in stage2.c in GRUB source code, however, that happens in protected mode. further, I need to assign some memory somewhere in protected mode to save the content ensure that I read them out latter in real-address mode, for example, under DOS ,how to then?
Last edited by me_too; 05-13-2008 at 01:29 AM.
Reason: replace real mode with real-address mode
|