]> xenbits.xensource.com Git - seabios.git/commit
vgabios: Support allocating an extra stack for vgabios calls and default on.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 1 Dec 2013 00:16:15 +0000 (19:16 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 4 Dec 2013 15:34:18 +0000 (10:34 -0500)
commit4a8b58cb6cccc8f6431167dfdd36f3e39601ff79
treebf69a1208db0de73a8699da7827116205dfb59af
parent865bfedf106a02807cbb27108f2c207add4c3013
vgabios: Support allocating an extra stack for vgabios calls and default on.

Add code to allocate an extra stack for the main vgabios int 0x10
entry point.  The allocation is done via the PMM spec and uses a PCI
v3 permanent low memory region request.  This request will work with
SeaBIOS - it is unknown how many other main BIOS implementations
support this PMM call.

The extra stack is useful for old DOS programs that call the VGABIOS
and expect it to work with very small amounts of stack space.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Makefile
vgasrc/Kconfig
vgasrc/vgabios.c
vgasrc/vgaentry.S