On Fri, Dec 06, 2013 at 11:56:22AM +0000, David Woodhouse wrote: > We expect to use the space between the top of option ROMs and the bottom > of our own BIOS code as a stack. OVMF was previously marking the whole > region from 0xC0000 to 0xFFFFF read-only before invoking our Legacy16Boot > method. Read-only stack considered harmful. > > Version 0.98 of the CSM spec adds the UmaAddress and UmaSize fields, which > allow the CSM to specify a memory region that needs to be writable. > > There exists CONFIG_MALLOC_UPPERMEMORY which we could turn off to use > the 9-segment, but that isn't particularly useful for the CSM case > either because that memory isn't ours to play with until the final > Legacy16Boot call. There's a LowPmmMemory given to use by UEFI to play > with, but that's right in the *middle* of low memory and using that for > persistent allocations would be painful. So just require > CONFIG_MALLOC_UPPERMEMORY when building a CSM.
Hi David, Are you still looking at this? If I recall correctly, you were going to run a test without CONFIG_MALLOC_UPPERMEMORY set. -Kevin _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org http://www.seabios.org/mailman/listinfo/seabios