History log of /hardware/intel/bootstub/e820_bios.S
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
923fa8dbef1ea905fca31f008bdcfac9a6c33001 30-Mar-2013 Bin Gao <bin.gao@intel.com> bootstub: get system memory map by int 15h on Baytrail platform

BZ: 96847

There is no SFI MMAP table any more for Baytrail platform.
Now we can get system memory map information by int 15h which returns
an e820 table with memory map entries.
We have to switch to real mode to call int 15h then switch back to
protected mode.
This patch implements the real mode int 15 call in assembly language
but exported a C style function:
int get_e820_by_bios(void *e820_buf);
See details in e820_bios.S.

Change-Id: I33dbeaaa58da217e74e015f0d911896500043d17
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/99216
Reviewed-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com>
Tested-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com>
/hardware/intel/bootstub/e820_bios.S